Edit

Share via


SamlSecurityTokenHandler.WriteSubject(XmlWriter, SamlSubject) Method

Definition

Writes the <saml:Subject> element.

protected:
 virtual void WriteSubject(System::Xml::XmlWriter ^ writer, System::IdentityModel::Tokens::SamlSubject ^ subject);
protected virtual void WriteSubject (System.Xml.XmlWriter writer, System.IdentityModel.Tokens.SamlSubject subject);
abstract member WriteSubject : System.Xml.XmlWriter * System.IdentityModel.Tokens.SamlSubject -> unit
override this.WriteSubject : System.Xml.XmlWriter * System.IdentityModel.Tokens.SamlSubject -> unit
Protected Overridable Sub WriteSubject (writer As XmlWriter, subject As SamlSubject)

Parameters

writer
XmlWriter

The XmlWriter with which to write the data.

subject
SamlSubject

The data to write.

Exceptions

subject is null.

-or-

writer is null.

Applies to