MessageReceiver.PeekAsync MessageReceiver.PeekAsync MessageReceiver.PeekAsync Method

Definition

Overloads

PeekAsync(Int64) PeekAsync(Int64) PeekAsync(Int64)

Asynchronously reads the next message without changing the state of the receiver or the message source.

PeekAsync() PeekAsync() PeekAsync()

Asynchronously reads the next message without changing the state of the receiver or the message source.

PeekAsync(Int64) PeekAsync(Int64) PeekAsync(Int64)

Asynchronously reads the next message without changing the state of the receiver or the message source.

public System.Threading.Tasks.Task<Microsoft.ServiceBus.Messaging.BrokeredMessage> PeekAsync (long fromSequenceNumber);
abstract member PeekAsync : int64 -> System.Threading.Tasks.Task<Microsoft.ServiceBus.Messaging.BrokeredMessage>
override this.PeekAsync : int64 -> System.Threading.Tasks.Task<Microsoft.ServiceBus.Messaging.BrokeredMessage>
Public Function PeekAsync (fromSequenceNumber As Long) As Task(Of BrokeredMessage)
Parameters
fromSequenceNumber
Int64 Int64 Int64

The sequence number from where to read the message.

Returns

The asynchronous operation.

PeekAsync() PeekAsync() PeekAsync()

Asynchronously reads the next message without changing the state of the receiver or the message source.

public System.Threading.Tasks.Task<Microsoft.ServiceBus.Messaging.BrokeredMessage> PeekAsync ();
abstract member PeekAsync : unit -> System.Threading.Tasks.Task<Microsoft.ServiceBus.Messaging.BrokeredMessage>
override this.PeekAsync : unit -> System.Threading.Tasks.Task<Microsoft.ServiceBus.Messaging.BrokeredMessage>
Public Function PeekAsync () As Task(Of BrokeredMessage)
Returns

The asynchronous operation.

Applies to