SALES: 1-800-867-1380

SubscriptionClient::Receive Method (Int64)

Receives a message using the InternalReceiver.

Namespace:  Microsoft.ServiceBus.Messaging
Assembly:  Microsoft.ServiceBus (in Microsoft.ServiceBus.dll)

public:
virtual BrokeredMessage^ Receive(
	long long sequenceNumber
) sealed

Parameters

sequenceNumber
Type: System::Int64
The sequence number of the deferred message to receive.

Return Value

Type: Microsoft.ServiceBus.Messaging::BrokeredMessage
The BrokeredMessage that represents the received message.

ExceptionCondition
OperationCanceledException

Thrown if the client entity has been closed or aborted.

You can only use sequenceNumber to receive a message if you previously called Defer on the message.

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2015 Microsoft