This documentation is archived and is not being maintained.

MessageQueue.PeekById Method

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

Name Description
MessageQueue.PeekById (String) Peeks the message whose message identifier matches the id parameter.

Supported by the .NET Compact Framework.

MessageQueue.PeekById (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.

Supported by the .NET Compact Framework.

Show: