QueueClient.PeekAsync Method

Definition

Overloads

PeekAsync()

Asynchronously returns without removing the first message in the queue.

PeekAsync(Int64)

Asynchronously returns without removing the first message in the queue.

PeekAsync()

Asynchronously returns without removing the first message in the queue.

public System.Threading.Tasks.Task<Microsoft.ServiceBus.Messaging.BrokeredMessage> PeekAsync ();
Returns

The asynchronous operation.

PeekAsync(Int64)

Asynchronously returns without removing the first message in the queue.

public System.Threading.Tasks.Task<Microsoft.ServiceBus.Messaging.BrokeredMessage> PeekAsync (long fromSequenceNumber);
Parameters
fromSequenceNumber
Int64

The sequence number from where to peek a message.

Returns

The asynchronous operation.