QueueClient.GetMessageSessionsAsync Method

Definition

Overloads

GetMessageSessionsAsync()

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

GetMessageSessionsAsync(DateTime)

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

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 ();
Returns

The asynchronous operation.

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);
Parameters
lastUpdatedTime
DateTime

The time the session was last updated.

Returns

The asynchronous operation.