Saml2Subject Constructor (Saml2SubjectConfirmation)

.NET Framework (current version)
 

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

Namespace:   System.IdentityModel.Tokens
Assembly:  System.IdentityModel (in System.IdentityModel.dll)

public Saml2Subject(
	Saml2SubjectConfirmation subjectConfirmation
)

Parameters

subjectConfirmation
Type: System.IdentityModel.Tokens.Saml2SubjectConfirmation

A Saml2SubjectConfirmation that contains confirmation information.

Exception Condition
ArgumentNullException

subjectConfirmation is null.

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

.NET Framework
Available since 4.5
Return to top
Show: