共用方式為


SamlSecurityTokenHandler.WriteAttributeStatement 方法

定義

寫入 <saml:AttributeStatement> 項目。

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

參數

writer
XmlWriter

要用來寫入資料的 XmlWriter

statement
SamlAttributeStatement

要寫入的資料。

例外狀況

statementnull

-或-

writernull

適用於