SALES: 1-800-867-1380

SubscriptionClient::AcceptMessageSessionAsync Method (String^)

 

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:
Task<MessageSession^>^ AcceptMessageSessionAsync(
	String^ sessionId
)

Parameters

sessionId
Type: System::String^

The session identifier of the message session.

Return Value

Type: System.Threading.Tasks::Task<MessageSession^>^

A task instance that represents the asynchronous accept message session operation.

Return to top
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2015 Microsoft