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

Definition

Executes the end try receive action.

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

The received message collection.

Returns

true if it succeeds; false if it fails.

Applies to