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类,请重写此方法。

适用于