0 out of 1 rated this helpful - Rate this topic

SubscriptionClient.Receive Method

Receives a message using the InternalReceiver().

Namespace:  Microsoft.ServiceBus.Messaging
Assembly:  Microsoft.ServiceBus (in Microsoft.ServiceBus.dll)
public BrokeredMessage Receive()

Return Value

Type: Microsoft.ServiceBus.Messaging.BrokeredMessage
The BrokeredMessage that represents the received message.
ExceptionCondition
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.

Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.