SALES: 1-800-867-1380

QueueClient.GetMessageSessions Method (DateTime)

Retrieves all message sessions whose session state was updated since lastUpdatedTime.

Namespace:  Microsoft.ServiceBus.Messaging
Assembly:  Microsoft.ServiceBus (in Microsoft.ServiceBus.dll)

public final function GetMessageSessions(
	lastUpdatedTime : DateTime
) : IEnumerable<MessageSession>


Type: System.DateTime
The time the session was last updated.

Return Value

Type: System.Collections.Generic.IEnumerable(MessageSession)
The message sessions.

For example, if lastUpdatedTime is set to 5 minutes ago, then this method returns all the sessions that were modified in the last 5 minutes.

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

© 2014 Microsoft