MessageReceiver.OnEndTryReceiveEventData(IAsyncResult, IEnumerable<EventData>) MessageReceiver.OnEndTryReceiveEventData(IAsyncResult, IEnumerable<EventData>) 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 *  -> bool
override this.OnEndTryReceiveEventData : IAsyncResult *  -> bool
Protected Overridable Function OnEndTryReceiveEventData (result As IAsyncResult, ByRef messages As IEnumerable(Of EventData)) As Boolean
Parameters
messages
IEnumerable<EventData>

The received message collection.

Returns

true if it succeeds; false if it fails.

Applies to