Saml2SecurityTokenHandler.WriteSubject Method (XmlWriter, Saml2Subject)

.NET Framework (current version)
 

Writes the <saml:Subject> element.

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

protected virtual void WriteSubject(
	XmlWriter writer,
	Saml2Subject data
)

Parameters

writer
Type: System.Xml.XmlWriter

The XmlWriter with which to write the data.

data
Type: System.IdentityModel.Tokens.Saml2Subject

The data to write.

Exception Condition
ArgumentNullException

data is null.

-or-

writer is null.

.NET Framework
Available since 4.5
Return to top
Show: