SALES: 1-800-867-1380

MessageReceiver.Receive Method (Int64)

Receives a message from the current queue or topic.

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

'Declaration
Public Function Receive ( _
	sequenceNumber As Long _
) As BrokeredMessage
'Usage
Dim instance As MessageReceiver
Dim sequenceNumber As Long
Dim returnValue As BrokeredMessage

returnValue = instance.Receive(sequenceNumber)

Parameters

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

Return Value

Type: Microsoft.ServiceBus.Messaging.BrokeredMessage
The BrokeredMessage that represents the received message.
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft