共用方式為


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

適用於