MessageReceiver.EndReceive Method
Ends an asynchronous operation to receive a message.
Namespace: Microsoft.ServiceBus.Messaging
Assembly: Microsoft.ServiceBus (in Microsoft.ServiceBus.dll)
Parameters
- result
- Type: System.IAsyncResult
An IAsyncResult object that references the asynchronous operation to receive a message.
Return Value
Type: Microsoft.ServiceBus.Messaging.BrokeredMessageThe BrokeredMessage that represents the received message.
| Exception | Condition |
|---|---|
| TimeoutException |
The operation times out. |