Export (0) Print
Expand All

QueueClient.AcceptMessageSession Method

Accepts a message session that allows grouping of related messages for processing in a single transaction.

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

public MessageSession AcceptMessageSession()

Return Value

Type: Microsoft.ServiceBus.Messaging.MessageSession
A MessageSession that allows grouping of related messages for processing in a single transaction.

ExceptionCondition
TimeoutException

Thrown if the operation exceeded the timeout value set by OperationTimeout.

OperationCanceledException

Thrown if the client is already closed, aborted, or disposed.

Community Additions

ADD
Show:
© 2014 Microsoft