SubscriptionClient.AcceptMessageSessionAsync SubscriptionClient.AcceptMessageSessionAsync Method

Definition

Overloads

AcceptMessageSessionAsync(String, TimeSpan) AcceptMessageSessionAsync(String, TimeSpan)

ly accepts a message session that allows grouping of related messages for processing in a single transaction using the specified server wait time.

AcceptMessageSessionAsync(TimeSpan) AcceptMessageSessionAsync(TimeSpan)

ly accepts a message session that allows grouping of related messages for processing in a single transaction using the specified server wait time.

AcceptMessageSessionAsync() AcceptMessageSessionAsync()

ly accepts a message session that allows grouping of related messages for processing in a single transaction using the specified server wait time.

AcceptMessageSessionAsync(String) AcceptMessageSessionAsync(String)

ly accepts a message session that allows grouping of related messages for processing in a single transaction using the specified server wait time.

AcceptMessageSessionAsync(String, TimeSpan) AcceptMessageSessionAsync(String, TimeSpan)

ly accepts a message session that allows grouping of related messages for processing in a single transaction using the specified server wait time.

public System.Threading.Tasks.Task<Microsoft.ServiceBus.Messaging.MessageSession> AcceptMessageSessionAsync (string sessionId, TimeSpan serverWaitTime);
Public Function AcceptMessageSessionAsync (sessionId As String, serverWaitTime As TimeSpan) As Task(Of MessageSession)
Parameters
sessionId
String String

The session identifier of the message session.

serverWaitTime
TimeSpan TimeSpan

The time span the server waits for processing messages before it times out.

Returns

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

AcceptMessageSessionAsync(TimeSpan) AcceptMessageSessionAsync(TimeSpan)

ly accepts a message session that allows grouping of related messages for processing in a single transaction using the specified server wait time.

public System.Threading.Tasks.Task<Microsoft.ServiceBus.Messaging.MessageSession> AcceptMessageSessionAsync (TimeSpan serverWaitTime);
Public Function AcceptMessageSessionAsync (serverWaitTime As TimeSpan) As Task(Of MessageSession)
Parameters
serverWaitTime
TimeSpan TimeSpan

The time span the server waits for processing messages before it times out.

Returns

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

AcceptMessageSessionAsync() AcceptMessageSessionAsync()

ly accepts a message session that allows grouping of related messages for processing in a single transaction using the specified server wait time.

public System.Threading.Tasks.Task<Microsoft.ServiceBus.Messaging.MessageSession> AcceptMessageSessionAsync ();
Public Function AcceptMessageSessionAsync () As Task(Of MessageSession)
Returns

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

AcceptMessageSessionAsync(String) AcceptMessageSessionAsync(String)

ly accepts a message session that allows grouping of related messages for processing in a single transaction using the specified server wait time.

public System.Threading.Tasks.Task<Microsoft.ServiceBus.Messaging.MessageSession> AcceptMessageSessionAsync (string sessionId);
Public Function AcceptMessageSessionAsync (sessionId As String) As Task(Of MessageSession)
Parameters
sessionId
String String

The session identifier of the message session.

Returns

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

Applies to