MessageReceiver.OnEndTryReceive 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 * seq -> bool
Protected MustOverride Function OnEndTryReceive (result As IAsyncResult, ByRef messages As IEnumerable(Of BrokeredMessage)) As Boolean

Parameters

result
IAsyncResult

The result.

messages
IEnumerable<BrokeredMessage>

The received message collection.

Returns

true if it succeeds; false if it fails.

Applies to