MessageQueue.PeekById Method

 

Returns a copy of the message that has the specified message identifier without removing the message from the queue.

Namespace:   System.Messaging
Assembly:  System.Messaging (in System.Messaging.dll)

NameDescription
System_CAPS_pubmethodPeekById(String)

Peeks the message whose message identifier matches the id parameter.

System_CAPS_pubmethodPeekById(String, TimeSpan)

Peeks the message whose message identifier matches the id parameter. Waits until the message appears in the queue or a time-out occurs.

Return to top
Show: