您现在访问的是微软AZURE全球版技术文档网站,若需要访问由世纪互联运营的MICROSOFT AZURE中国区技术文档网站,请访问 https://docs.azure.cn.

MessageSession.OnEndTryReceive2(IAsyncResult, IEnumerable<BrokeredMessage>) MessageSession.OnEndTryReceive2(IAsyncResult, IEnumerable<BrokeredMessage>) MessageSession.OnEndTryReceive2(IAsyncResult, IEnumerable<BrokeredMessage>) Method

Definition

Executes the end try receive operation of the message receiver.

protected override bool OnEndTryReceive2 (IAsyncResult result, out System.Collections.Generic.IEnumerable<Microsoft.ServiceBus.Messaging.BrokeredMessage> messages);
override this.OnEndTryReceive2 : IAsyncResult *  -> bool
Protected Overrides Function OnEndTryReceive2 (result As IAsyncResult, ByRef messages As IEnumerable(Of BrokeredMessage)) As Boolean

Parameters

result
IAsyncResult IAsyncResult IAsyncResult

An IAsyncResult that references the asynchronous operation to try to receive messages.

messages
IEnumerable<BrokeredMessage>

When this method returns, contains the received message collection.

Returns

true if it succeeds; false if it fails.

Applies to