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

适用于