共用方式為


SamlSecurityTokenHandler.WriteStatement(XmlWriter, SamlStatement) 方法

定義

寫入 SamlStatement。

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

參數

writer
XmlWriter

要用來寫入資料的 XmlWriter

statement
SamlStatement

要寫入的資料。

例外狀況

statementnull

-或-

writernull

備註

這個方法可能會寫入 <saml:AttributeStatement、<saml:AuthnStatement>> 或 <saml:AuthzDecisionStatement> 元素。 若要處理撰寫 saml:Statement> 元素的<自定義SamlStatement類別,請覆寫此方法。

適用於