SubscriptionClient.AcceptMessageSessionAsync SubscriptionClient.AcceptMessageSessionAsync SubscriptionClient.AcceptMessageSessionAsync Method

Definition

Overloads

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

Asynchronously 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) AcceptMessageSessionAsync(TimeSpan)

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

AcceptMessageSessionAsync() AcceptMessageSessionAsync() AcceptMessageSessionAsync()

Asynchronously 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) AcceptMessageSessionAsync(String)

Asynchronously 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) AcceptMessageSessionAsync(String, TimeSpan)

Asynchronously 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);
abstract member AcceptMessageSessionAsync : string * TimeSpan -> System.Threading.Tasks.Task<Microsoft.ServiceBus.Messaging.MessageSession>
override this.AcceptMessageSessionAsync : string * TimeSpan -> System.Threading.Tasks.Task<Microsoft.ServiceBus.Messaging.MessageSession>
Public Function AcceptMessageSessionAsync (sessionId As String, serverWaitTime As TimeSpan) As Task(Of MessageSession)
Parameters
sessionId
String String String

The session identifier of the message session.

serverWaitTime
TimeSpan 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) AcceptMessageSessionAsync(TimeSpan)

Asynchronously 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);
abstract member AcceptMessageSessionAsync : TimeSpan -> System.Threading.Tasks.Task<Microsoft.ServiceBus.Messaging.MessageSession>
override this.AcceptMessageSessionAsync : TimeSpan -> System.Threading.Tasks.Task<Microsoft.ServiceBus.Messaging.MessageSession>
Public Function AcceptMessageSessionAsync (serverWaitTime As TimeSpan) As Task(Of MessageSession)
Parameters
serverWaitTime
TimeSpan 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() AcceptMessageSessionAsync()

Asynchronously 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 ();
abstract member AcceptMessageSessionAsync : unit -> System.Threading.Tasks.Task<Microsoft.ServiceBus.Messaging.MessageSession>
override this.AcceptMessageSessionAsync : unit -> System.Threading.Tasks.Task<Microsoft.ServiceBus.Messaging.MessageSession>
Public Function AcceptMessageSessionAsync () As Task(Of MessageSession)
Returns

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

AcceptMessageSessionAsync(String) AcceptMessageSessionAsync(String) AcceptMessageSessionAsync(String)

Asynchronously 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);
abstract member AcceptMessageSessionAsync : string -> System.Threading.Tasks.Task<Microsoft.ServiceBus.Messaging.MessageSession>
override this.AcceptMessageSessionAsync : string -> System.Threading.Tasks.Task<Microsoft.ServiceBus.Messaging.MessageSession>
Public Function AcceptMessageSessionAsync (sessionId As String) As Task(Of MessageSession)
Parameters
sessionId
String String String

The session identifier of the message session.

Returns

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

Applies to