'Usage
Dim instance As MessageQueue Dim id As String Dim value As Message value = instance.PeekById(id)
Parameters
- id
- The Id of the message to peek.
'Usage
Dim instance As MessageQueue Dim id As String Dim value As Message value = instance.PeekById(id)
Exception | Description |
---|---|
System.ArgumentNullException | The id parameter is null. |
System.InvalidOperationException | No message with the specified id exists. |
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