Bewerken

Share via


Saml2SecurityTokenHandler.WriteSubjectLocality Method

Definition

Writes the <saml:SubjectLocality> element.

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

Parameters

writer
XmlWriter

The XmlWriter with which to write the data.

data
Saml2SubjectLocality

The data to write.

Exceptions

data is null.

-or-

writer is null.

Applies to