共用方式為


SamlAuthenticationStatement.AuthenticationInstant 屬性

定義

取得或設定主體通過驗證的瞬間。

public:
 property DateTime AuthenticationInstant { DateTime get(); void set(DateTime value); };
public DateTime AuthenticationInstant { get; set; }
member this.AuthenticationInstant : DateTime with get, set
Public Property AuthenticationInstant As DateTime

屬性值

DateTime,其中指定主體通過驗證的瞬間。

例外狀況類型 條件
InvalidOperationException 系統會設定 AuthenticationInstant 屬性,而 IsReadOnly 屬性為 true

備註

時間是以 Coordinated Universal Time (UTC) 格式存放。

AuthenticationInstant 屬性 (Property) 會對應到已在 Assertions and Protocol for the OASIS Security Assertion Markup Language (SAML) 規格中定義之 AuthenticationInstant 項目的 <AuthenticationStatement> 屬性 (Attribute)。

適用於