SALES: 1-800-867-1380
Expand Minimize

MessageSession.OnEndTryReceive2 Method

Executes the end try receive operation of the message receiver.

Namespace:  Microsoft.ServiceBus.Messaging
Assembly:  Microsoft.ServiceBus (in Microsoft.ServiceBus.dll)

protected override bool OnEndTryReceive2(
	IAsyncResult result,
	out IEnumerable<BrokeredMessage> messages
)

Parameters

result
Type: System.IAsyncResult
An IAsyncResult that references the asynchronous operation to try to receive messages.
messages
Type: System.Collections.Generic.IEnumerable<BrokeredMessage>
When this method returns, contains the received message collection.

Return Value

Type: System.Boolean
true if it succeeds; false if it fails.
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2015 Microsoft