Share via


MessageSession.OnEndPeek(IAsyncResult) Method

Definition

Executes upon calling the EndPeek operation.

protected override System.Collections.Generic.IEnumerable<Microsoft.ServiceBus.Messaging.BrokeredMessage> OnEndPeek (IAsyncResult result);
override this.OnEndPeek : IAsyncResult -> seq<Microsoft.ServiceBus.Messaging.BrokeredMessage>
Protected Overrides Function OnEndPeek (result As IAsyncResult) As IEnumerable(Of BrokeredMessage)

Parameters

result
IAsyncResult

An IAsyncResult that references the asynchronous operation to peek a communication of the message session.

Returns

The list of message from the session.

Applies to