Sdílet prostřednictvím


SubscriptionClient.GetMessageSessionsAsync Method

Definition

Overloads

GetMessageSessionsAsync()

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

GetMessageSessionsAsync(DateTime)

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

GetMessageSessionsAsync()

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

public System.Threading.Tasks.Task<System.Collections.Generic.IEnumerable<Microsoft.ServiceBus.Messaging.MessageSession>> GetMessageSessionsAsync ();
abstract member GetMessageSessionsAsync : unit -> System.Threading.Tasks.Task<seq<Microsoft.ServiceBus.Messaging.MessageSession>>
override this.GetMessageSessionsAsync : unit -> System.Threading.Tasks.Task<seq<Microsoft.ServiceBus.Messaging.MessageSession>>
Public Function GetMessageSessionsAsync () As Task(Of IEnumerable(Of MessageSession))

Returns

A task instance that represents the asynchronous get message sessions operation.

Applies to

GetMessageSessionsAsync(DateTime)

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

public System.Threading.Tasks.Task<System.Collections.Generic.IEnumerable<Microsoft.ServiceBus.Messaging.MessageSession>> GetMessageSessionsAsync (DateTime lastUpdatedTime);
abstract member GetMessageSessionsAsync : DateTime -> System.Threading.Tasks.Task<seq<Microsoft.ServiceBus.Messaging.MessageSession>>
override this.GetMessageSessionsAsync : DateTime -> System.Threading.Tasks.Task<seq<Microsoft.ServiceBus.Messaging.MessageSession>>
Public Function GetMessageSessionsAsync (lastUpdatedTime As DateTime) As Task(Of IEnumerable(Of MessageSession))

Parameters

lastUpdatedTime
DateTime

The time the session was last updated.

Returns

A task instance that represents the asynchronous get message sessions operation.

Applies to