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.ReceiveById (String)

Receives the message that matches the given ID. If there is no message with a matching ID, an exception is thrown.

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

Parameters

id
The Id of the message to receive.

Return Value

The message with the matching ID.

See Also

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