Compartilhar via


MessageReceiver.OnReceiveAsync(Int32, TimeSpan) Método

Definição

protected virtual System.Threading.Tasks.Task<System.Collections.Generic.IList<Microsoft.Azure.ServiceBus.Message>> OnReceiveAsync (int maxMessageCount, TimeSpan serverWaitTime);
abstract member OnReceiveAsync : int * TimeSpan -> System.Threading.Tasks.Task<System.Collections.Generic.IList<Microsoft.Azure.ServiceBus.Message>>
override this.OnReceiveAsync : int * TimeSpan -> System.Threading.Tasks.Task<System.Collections.Generic.IList<Microsoft.Azure.ServiceBus.Message>>
Protected Overridable Function OnReceiveAsync (maxMessageCount As Integer, serverWaitTime As TimeSpan) As Task(Of IList(Of Message))

Parâmetros

maxMessageCount
Int32
serverWaitTime
TimeSpan

Retornos

Aplica-se a