다음을 통해 공유


MessageReceiver.OnPeekAsync(Int64, Int32) Method

Definition

protected virtual System.Threading.Tasks.Task<System.Collections.Generic.IList<Microsoft.Azure.ServiceBus.Message>> OnPeekAsync (long fromSequenceNumber, int messageCount = 1);
abstract member OnPeekAsync : int64 * int -> System.Threading.Tasks.Task<System.Collections.Generic.IList<Microsoft.Azure.ServiceBus.Message>>
override this.OnPeekAsync : int64 * int -> System.Threading.Tasks.Task<System.Collections.Generic.IList<Microsoft.Azure.ServiceBus.Message>>
Protected Overridable Function OnPeekAsync (fromSequenceNumber As Long, Optional messageCount As Integer = 1) As Task(Of IList(Of Message))

Parameters

fromSequenceNumber
Int64
messageCount
Int32

Returns

Applies to