TopicClient.PeekAsync Method

Definition

Overloads

PeekAsync()
PeekAsync(Int64)

PeekAsync()

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

Task<BrokeredMessage>

Implements

Microsoft.ServiceBus.Messaging.IMessageBrowser.PeekAsync

Applies to

Product Introduced

PeekAsync(Int64)

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

Returns

Task<BrokeredMessage>

Implements

Microsoft.ServiceBus.Messaging.IMessageBrowser.PeekAsync(System.Int64)

Applies to

Product Introduced