MessageSession.OnEndTryReceive2 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 end try receive operation of the message receiver.
protected override bool OnEndTryReceive2 (IAsyncResult result, out System.Collections.Generic.IEnumerable<Microsoft.ServiceBus.Messaging.BrokeredMessage> messages);
override this.OnEndTryReceive2 : IAsyncResult * seq -> bool
Protected Overrides Function OnEndTryReceive2 (result As IAsyncResult, ByRef messages As IEnumerable(Of BrokeredMessage)) As Boolean
Parameters
- result
- IAsyncResult
An IAsyncResult that references the asynchronous operation to try to receive messages.
- messages
- IEnumerable<BrokeredMessage>
When this method returns, contains the received message collection.
Returns
true if it succeeds; false if it fails.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET