QueueClient.GetMessageSessionsAsync QueueClient.GetMessageSessionsAsync QueueClient.GetMessageSessionsAsync Method

Definition

Overloads

GetMessageSessionsAsync() GetMessageSessionsAsync() GetMessageSessionsAsync()

Asynchronously gets the message sessions, enabling you to browse sessions on queues.

GetMessageSessionsAsync(DateTime) GetMessageSessionsAsync(DateTime) GetMessageSessionsAsync(DateTime)

Asynchronously retrieves all message sessions whose session state was updated since lastUpdatedTime.

GetMessageSessionsAsync() GetMessageSessionsAsync() GetMessageSessionsAsync()

Asynchronously gets the message sessions, enabling you to browse sessions on queues.

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

The asynchronous operation.

GetMessageSessionsAsync(DateTime) GetMessageSessionsAsync(DateTime) GetMessageSessionsAsync(DateTime)

Asynchronously retrieves all message sessions whose session state was updated since lastUpdatedTime.

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 DateTime DateTime

The time the session was last updated.

Returns

The asynchronous operation.

Applies to