EndPeek Method
Completes the specified asynchronous peek operation.
Syntax
Parameters
- asyncResult
- The System.IAsyncResult that identifies the asynchronous peek operation to finish and from which to retrieve an end result.
Return Value
The Message associated with the completed asynchronous operation.
Exceptions
| Exception | Description |
|---|---|
| System.ArgumentNullException | The asyncResult parameter is null. |
| System.ArgumentException | The syntax of the asyncResult parameter is not valid. |
| MessageQueueException | An error occurred when accessing a Message Queuing method. |
Requirements
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
See Also