MessageReceiver.PeekAsync Method

Definition

Overloads

PeekAsync()
PeekAsync(Int32)

PeekAsync()

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

Returns

Task<Message>

Implements

PeekAsync(Int32)

public System.Threading.Tasks.Task<System.Collections.Generic.IList<Microsoft.Azure.ServiceBus.Message>> PeekAsync (int maxMessageCount);
abstract member PeekAsync : int -> System.Threading.Tasks.Task<System.Collections.Generic.IList<Microsoft.Azure.ServiceBus.Message>>
override this.PeekAsync : int -> System.Threading.Tasks.Task<System.Collections.Generic.IList<Microsoft.Azure.ServiceBus.Message>>
Public Function PeekAsync (maxMessageCount As Integer) As Task(Of IList(Of Message))

Parameters

maxMessageCount
Int32

Returns

Task<IList<Message>>

Implements

Applies to