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

Definition

Executes the end try receive action.

protected abstract bool OnEndTryReceive (IAsyncResult result, out System.Collections.Generic.IEnumerable<Microsoft.ServiceBus.Messaging.BrokeredMessage> messages);
abstract member OnEndTryReceive : IAsyncResult *  -> bool
Protected MustOverride Function OnEndTryReceive (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