Export (0) Print
Expand All
Expand Minimize

Saml2SecurityTokenHandler.WriteSubjectConfirmationData Method

.NET Framework 4.5

Writes the <saml:SubjectConfirmationData> element.

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

protected virtual void WriteSubjectConfirmationData(
	XmlWriter writer,
	Saml2SubjectConfirmationData data
)

Parameters

writer
Type: System.Xml.XmlWriter

The XmlWriter with which to write the data.

data
Type: System.IdentityModel.Tokens.Saml2SubjectConfirmationData

The data to write.

ExceptionCondition
ArgumentNullException

data is null.

-or-

writer is null.

When the data.KeyIdentifiers collection is not empty, an xsi:type attribute will be written specifying the saml:KeyInfoConfirmationDataType.

.NET Framework

Supported in: 4.6, 4.5
Show:
© 2015 Microsoft