SALES: 1-800-867-1380
Peek Method (Int64)
Collapse the table of content
Expand the table of content

MessageReceiver::Peek Method (Int64)

 

Reads the next message without changing the state of the receiver or the message source.

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

public:
virtual BrokeredMessage^ Peek(
	long long fromSequenceNumber
) sealed

Parameters

fromSequenceNumber
Type: System::Int64

The sequence number from where to read the message.

Return Value

Type: Microsoft.ServiceBus.Messaging::BrokeredMessage^

The BrokeredMessage that represents the next message to be read.

Return to top
Show:
© 2016 Microsoft