SALES: 1-800-867-1380
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 : TimeSpan
) : Task<MessageSession>

Parameters

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

Return Value

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

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.