Gets the maximum amount of time a message is kept in the queue.
Namespace: Microsoft.WindowsAzure.Storage.Queue
Assembly: Microsoft.WindowsAzure.Storage (in Microsoft.WindowsAzure.Storage.dll)
Usage
Visual Basic |
---|
Dim value As TimeSpan
value = CloudQueueMessage.MaxTimeToLive
|
Syntax
Visual Basic |
---|
Public Shared ReadOnly Property MaxTimeToLive As TimeSpan |
C# |
---|
public static TimeSpan MaxTimeToLive { get; } |
C++ |
---|
public:
static property TimeSpan MaxTimeToLive {
TimeSpan get ();
} |
J# |
---|
/** @property */
public static TimeSpan get_MaxTimeToLive ()
|
JScript |
---|
public static function get MaxTimeToLive () : TimeSpan
|
Property Value
A
TimeSpan specifying the maximum amount of time a message is kept in 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
See Also