SamlSecurityTokenHandler.WriteAttribute(XmlWriter, SamlAttribute) 方法

定义

写入 <saml:Attribute> 元素。

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

参数

writer
XmlWriter

用于写数据的 XmlWriter

attribute
SamlAttribute

要写入的数据。

例外

attributenull

writernull

适用于