QueueClient.GetExpiration Method
[This is prerelease documentation and is subject to change in future releases. Blank topics are included as placeholders.]
Retrieves the expiration of the current queue.
Namespace: Microsoft.ServiceBus
Assembly: Microsoft.ServiceBus (in microsoft.servicebus.dll)
Usage
Dim instance As QueueClient Dim returnValue As DateTime returnValue = instance.GetExpiration
Syntax
'Declaration
Public Function GetExpiration As DateTime
public DateTime GetExpiration ()
public:
DateTime GetExpiration ()
public DateTime GetExpiration ()
public function GetExpiration () : DateTime
Return Value
Returns a DateTime that contains the expiration date.
Remarks
The expiration is expressed as an absolute DateTime instant in UTC. Unless the lifetime of the Queue is extended using Renew, the Queue will be automatically deleted and all messages will be irrecoverably discarded at the time indicated by this method. The operation requires ‘Send’, ‘Listen’, and/or ‘Manage’ permission on the Queue.
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Platforms
Development Platforms
Windows XP Home Edition, Windows XP Professional, Windows Server 2003 , Windows Server 2008, and Windows 2000
Target Platforms
See Also
Reference
QueueClient Class
QueueClient Members
Microsoft.ServiceBus Namespace