共用方式為


SamlSecurityTokenHandler.WriteAuthorityBinding 方法

定義

寫入 <saml:AuthorityBinding> 項目。

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

參數

writer
XmlWriter

要用來寫入資料的 XmlWriter

authorityBinding
SamlAuthorityBinding

要寫入的資料。

例外狀況

authorityBindingnull

-或-

writernull

適用於