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

Usage

Visual Basic
Dim instance As SessionSecurityTokenHandler
Dim value As TimeSpan

value = instance.TokenLifetime

instance.TokenLifetime = value

Syntax

Visual Basic
Public Overridable Property TokenLifetime As TimeSpan
C#
public virtual TimeSpan TokenLifetime { get; set; }
C++
public:
virtual property TimeSpan TokenLifetime {
		TimeSpan get ();
		void set (TimeSpan value);
}
J#
/** @property */
public TimeSpan get_TokenLifetime ()

/** @property */
public void set_TokenLifetime (TimeSpan value)
JScript
public function get TokenLifetime () : TimeSpan

public function set TokenLifetime (value : 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