'Usage
Dim instance As MessageQueue Dim id As String Dim value As Message value = instance.ReceiveById(id)
Parameters
- id
- The Id of the message to receive.
'Usage
Dim instance As MessageQueue Dim id As String Dim value As Message value = instance.ReceiveById(id)
Exception | Description |
---|---|
System.ArgumentNullException | The id parameter is null. |
System.InvalidOperationException | The message with the specified id could not be found. |
MessageQueueException | An error occurred when accessing a Message Queuing method. |
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2