CloudQueueMessage.MaxTimeToLive Property

Windows Runtime Azure Storage Client Library

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

Development Platforms

Windows Vista, Windows 7, Windows Server 2008, Windows 8.1, Windows Server 2012 R2, Windows 8 and Windows Server 2012

Target Platforms

See Also