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

适用于