語言

Saml2SecurityTokenHandler.WriteStatement(XmlWriter, Saml2Statement) 方法

定義

寫一個 Saml2Statement。

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

參數

writer
XmlWriter

用來寫入資料的管道 XmlWriter 。

data
Saml2Statement

要寫入的資料。

例外狀況

data 是 null。

-或-

writer 是 null。

備註

此方法可寫入 <saml:AttributeStatement>、 <saml:AuthnStatement> 或 <saml:AuthzDecisionStatement> 元素。 若要處理用於撰寫 Saml2Statementsaml:Statement< 元素的自訂>類別,請覆寫此方法。

適用於