MessageReceiver.OnEndTryReceiveEventData Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.
Returns
true if it succeeds; false if it fails.