Saml2SecurityTokenHandler.WriteSubjectLocality 方法

定义

<写入 saml:SubjectLocality> 元素。

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)

参数

writer
XmlWriter

XmlWriter要写入数据的项。

data
Saml2SubjectLocality

要写入的数据。

例外

datanull

-或-

writernull

适用于