MessageReceiver.OnEndTryReceiveEventData(IAsyncResult, IEnumerable<EventData>) Method

Definition

Executes the EndTryReceive action for the event data.

protected virtual bool OnEndTryReceiveEventData (IAsyncResult result, out System.Collections.Generic.IEnumerable<Microsoft.ServiceBus.Messaging.EventData> messages);
abstract member OnEndTryReceiveEventData : IAsyncResult * seq -> bool
override this.OnEndTryReceiveEventData : IAsyncResult * seq -> bool
Protected Overridable Function OnEndTryReceiveEventData (result As IAsyncResult, ByRef messages As IEnumerable(Of EventData)) As Boolean

Parameters

result
IAsyncResult

The result.

messages
IEnumerable<EventData>

The received message collection.

Return Value

Boolean

true if it succeeds; false if it fails.

Applies to