Saml2SecurityTokenHandler.WriteSubject(XmlWriter, Saml2Subject) Method

Definition

Writes the <saml:Subject> element.

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

Parameters

writer
XmlWriter

The XmlWriter with which to write the data.

data
Saml2Subject

The data to write.

Exceptions

data is null.

-or-

writer is null.

Applies to