Edit

Share via


Lifetime.Expires Property

Definition

Gets the token expiration time in UTC time.

public:
 property Nullable<DateTime> Expires { Nullable<DateTime> get(); void set(Nullable<DateTime> value); };
public DateTime? Expires { get; set; }
member this.Expires : Nullable<DateTime> with get, set
Public Property Expires As Nullable(Of DateTime)

Property Value

A DateTime that represents the UTC time at which the token expires. Can be null.

Remarks

Represents the <wst:Expires> child element. This optional element specifies the time at which the token expires.

For more information about the element that this class represents, see the WS-Trust specification that applies to your scenario: WS-Trust February 2005, WS-Trust 1.3, or WS-Trust 1.4.

Applies to