Namespace: Microsoft.IdentityModel.Tokens
Assembly: Microsoft.IdentityModel (in microsoft.identitymodel.dll)

Usage

Visual Basic
Dim value As TimeSpan

value = SessionSecurityTokenHandler.DefaultTokenLifetime

Syntax

Visual Basic
Public Shared ReadOnly Property DefaultTokenLifetime As TimeSpan
C#
public static TimeSpan DefaultTokenLifetime { get; }
C++
public:
static property TimeSpan DefaultTokenLifetime {
		TimeSpan get ();
}
J#
/** @property */
public static TimeSpan get_DefaultTokenLifetime ()
JScript
public static function get DefaultTokenLifetime () : TimeSpan

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 Server 2003, Windows Vista

Target Platforms

Windows Server 2008, Windows Vista, Not tested on Windows XP

See Also