Terminates a peek asynchronous operation identified by the specified interface.
[Visual Basic] Public Function EndPeek( _ ByVal asyncResult As IAsyncResult _ ) As Message [C#] public Message EndPeek( IAsyncResult asyncResult ); [C++] public: Message* EndPeek( IAsyncResult* asyncResult ); [JScript] public function EndPeek( asyncResult : IAsyncResult ) : Message;
The Message that represents the result of the posted asynchronous operation.
Exception Type | Condition |
---|---|
ArgumentNullException | The asyncResult parameter is a null reference (in Visual Basic Nothing). |
ArgumentException | The asyncResult parameter has invalid syntax. |
MessageQueue Class | MessageQueue Members | System.Messaging Namespace | BeginPeek