'Declaration
Public Overloads Function RemoveCurrent( _ ByVal transaction As MessageQueueTransaction _ ) As Message
'Usage
Dim instance As MessageEnumerator Dim transaction As MessageQueueTransaction Dim value As Message value = instance.RemoveCurrent(transaction)
public Message RemoveCurrent( MessageQueueTransaction transaction )
public: Message^ RemoveCurrent( MessageQueueTransaction^ transaction )
Parameters
- transaction
- The MessageQueueTransaction object that specifies the transaction in which the message will be removed.
Return Value
A Message that references the first message available in the queue.