Get/Set the lifetime information for the issued token
Namespace: Microsoft.IdentityModel.Tokens
Assembly: Microsoft.IdentityModel (in microsoft.identitymodel.dll)

Usage

Visual Basic
Dim instance As SecurityTokenDescriptor
Dim value As Lifetime

value = instance.Lifetime

instance.Lifetime = value

Syntax

Visual Basic
Public Property Lifetime As Lifetime
C#
public Lifetime Lifetime { get; set; }
C++
public:
property Lifetime^ Lifetime {
		Lifetime^ get ();
		void set (Lifetime^ value);
}
J#
/** @property */
public Lifetime get_Lifetime ()

/** @property */
public void set_Lifetime (Lifetime value)
JScript
public function get Lifetime () : Lifetime

public function set Lifetime (value : Lifetime)

Property Value

Returns a Lifetime.

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