SamlSecurityTokenHandler.WriteAuthenticationStatement 方法

定义

写入 <saml:AuthnStatement> 元素。

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

参数

writer
XmlWriter

用于写数据的 XmlWriter

statement
SamlAuthenticationStatement

要写入的数据。

例外

statementnull

writernull

适用于