共用方式為


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

適用於