SALES: 1-800-867-1380

SubscriptionClient.Receive Method (Int64)

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

abstract Receive : 
        sequenceNumber:int64 -> BrokeredMessage
override Receive : 
        sequenceNumber:int64 -> BrokeredMessage

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.

Exception Condition
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.

Return to top
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2016 Microsoft