QueueClient.AcceptMessageSessionAsync Method (String)

 

Asynchronously accepts a message session that allows grouping of related messages for processing in a single transaction using the given session identifier.

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>

The result of an asynchronous operation.

Return to top
Show: