Επεξεργασία

Κοινή χρήση μέσω


Saml2Subject Constructors

Definition

Initializes a new instance of the Saml2Subject class.

Overloads

Saml2Subject()

Initializes a new instance of the Saml2Subject class.

Saml2Subject(Saml2NameIdentifier)

Initializes a new instance of the Saml2Subject class with the specified Saml2NameIdentifier object.

Saml2Subject(Saml2SubjectConfirmation)

Initializes a new instance of the Saml2Subject class with the specified Saml2SubjectConfirmation object.

Saml2Subject()

Initializes a new instance of the Saml2Subject class.

public:
 Saml2Subject();
public Saml2Subject ();
Public Sub New ()

Applies to

Saml2Subject(Saml2NameIdentifier)

Initializes a new instance of the Saml2Subject class with the specified Saml2NameIdentifier object.

public:
 Saml2Subject(System::IdentityModel::Tokens::Saml2NameIdentifier ^ nameId);
public Saml2Subject (System.IdentityModel.Tokens.Saml2NameIdentifier nameId);
new System.IdentityModel.Tokens.Saml2Subject : System.IdentityModel.Tokens.Saml2NameIdentifier -> System.IdentityModel.Tokens.Saml2Subject
Public Sub New (nameId As Saml2NameIdentifier)

Parameters

nameId
Saml2NameIdentifier

A Saml2NameIdentifier that represents the name identifier.

Remarks

The NameId property is set to the value specified by the nameId parameter.

Applies to

Saml2Subject(Saml2SubjectConfirmation)

Initializes a new instance of the Saml2Subject class with the specified Saml2SubjectConfirmation object.

public:
 Saml2Subject(System::IdentityModel::Tokens::Saml2SubjectConfirmation ^ subjectConfirmation);
public Saml2Subject (System.IdentityModel.Tokens.Saml2SubjectConfirmation subjectConfirmation);
new System.IdentityModel.Tokens.Saml2Subject : System.IdentityModel.Tokens.Saml2SubjectConfirmation -> System.IdentityModel.Tokens.Saml2Subject
Public Sub New (subjectConfirmation As Saml2SubjectConfirmation)

Parameters

subjectConfirmation
Saml2SubjectConfirmation

A Saml2SubjectConfirmation that contains confirmation information.

Exceptions

subjectConfirmation is null.

Remarks

The SubjectConfirmations collection is initialized with the value specified by the subjectConfirmation parameter.

Applies to