SubscriptionClient.Receive Method
Receives a message using the InternalReceiver().
Namespace: Microsoft.ServiceBus.Messaging
Assembly: Microsoft.ServiceBus (in Microsoft.ServiceBus.dll)
Return Value
Type: Microsoft.ServiceBus.Messaging.BrokeredMessageThe BrokeredMessage that represents the received message.
| Exception | Condition |
|---|---|
| MessagingEntityNotFoundException | Thrown when the subscription does not exist. |
| TimeoutException | Thrown if the operation exceeded the timeout value set via OperationTimeout. |
| OperationCanceledException | Thrown if the client entity has been closed or aborted. |
| UnauthorizedAccessException | Thrown if there is an authentication error. |