Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

QueueClient.AcceptMessageSessionAsync Method (TimeSpan)

Asynchronously accepts a message session that allows grouping of related messages for processing in a single transaction using the specified server wait time.

Namespace:  Microsoft.ServiceBus.Messaging
Assembly:  Microsoft.ServiceBus (in Microsoft.ServiceBus.dll)
Public Function AcceptMessageSessionAsync ( _
	serverWaitTime As TimeSpan _
) As Task(Of MessageSession)
Dim instance As QueueClient
Dim serverWaitTime As TimeSpan
Dim returnValue As Task(Of MessageSession)

returnValue = instance.AcceptMessageSessionAsync(serverWaitTime)


Type: System.TimeSpan
The time span the server waits for processing messages before it times out.

Return Value

Type: System.Threading.Tasks.Task(Of MessageSession)
The result of an asynchronous operation.
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

© 2014 Microsoft. All rights reserved.