Share via


Saml2Subject 類別

定義

表示 [Saml2Core,2.4.1] 中指定的 Subject 項目。

public ref class Saml2Subject
public class Saml2Subject
type Saml2Subject = class
Public Class Saml2Subject
繼承
Saml2Subject

備註

NameId如果 屬性是 null 且集合是空的SubjectConfirmationsInvalidOperationException則會在串行化期間擲回 。

如需這個類別所代表之專案的詳細資訊,請參閱 SAML V2.0 核心規格。

建構函式

Saml2Subject()

初始化 Saml2Subject 類別的新執行個體。

Saml2Subject(Saml2NameIdentifier)

使用指定的 Saml2Subject 物件,初始化 Saml2NameIdentifier 類別的新執行個體。

Saml2Subject(Saml2SubjectConfirmation)

使用指定的 Saml2Subject 物件,初始化 Saml2SubjectConfirmation 類別的新執行個體。

屬性

NameId

取得或設定主體的識別項。 [Saml2Core, 2.4.1]

SubjectConfirmations

取得包含允許確認主題之資訊的集合。 [Saml2Core, 2.4.1]

方法

Equals(Object)

判斷指定的物件是否等於目前的物件。

(繼承來源 Object)
GetHashCode()

做為預設雜湊函式。

(繼承來源 Object)
GetType()

取得目前執行個體的 Type

(繼承來源 Object)
MemberwiseClone()

建立目前 Object 的淺層複製。

(繼承來源 Object)
ToString()

傳回代表目前物件的字串。

(繼承來源 Object)

適用於