WriteSubject Method
TOC
Collapse the table of content
Expand the table of content

SamlSecurityTokenHandler.WriteSubject Method (XmlWriter, SamlSubject)

.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,
	SamlSubject subject
)

Parameters

writer
Type: System.Xml.XmlWriter

The XmlWriter with which to write the data.

subject
Type: System.IdentityModel.Tokens.SamlSubject

The data to write.

Exception Condition
ArgumentNullException

subject is null.

-or-

writer is null.

.NET Framework
Available since 4.5
Return to top
Show:
© 2016 Microsoft