Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

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)

member AcceptMessageSessionAsync : 
        serverWaitTime:TimeSpan -> Task<MessageSession> 


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.

Community Additions

© 2015 Microsoft