Saml2SecurityTokenHandler.WriteAttribute(XmlWriter, Saml2Attribute) 方法

定义

写入 <saml:Attribute> 元素。

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

参数

writer
XmlWriter

用于写数据的 XmlWriter

data
Saml2Attribute

要写入的数据。

例外

datanull

writernull

适用于