Saml2SecurityTokenHandler.WriteAttributeStatement 方法

定义

写入 <saml:AttributeStatement> 元素。

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

参数

writer
XmlWriter

用于写数据的 XmlWriter

data
Saml2AttributeStatement

要写入的数据。

例外

datanull

writernull

适用于