NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

MessageQueue.PeekById (String)

Peeks the message that matches the given ID. If there is no message with a matching ID, an exception will be raised.

[Visual Basic]
Overloads Overridable Public Function PeekById( _
   ByVal id As String _
) As Message
[C#]
public virtual Message PeekById(
   string id
);
[C++]
public: virtual Message* PeekById(
   String* id
);
[JScript]
public function PeekById(
   id : String
) : Message;

Parameters

id
The Id of the message to peek.

Return Value

The message with the matching ID.

See Also

MessageQueue Class | MessageQueue Members | System.Messaging Namespace | MessageQueue.PeekById Overload List