SamlSecurityTokenHandler.WriteAuthenticationStatement Method

Definition

Writes the <saml:AuthnStatement> element.

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)

Parameters

writer
XmlWriter

The XmlWriter with which to write the data.

statement
SamlAuthenticationStatement

The data to write.

Exceptions

statement is null.

-or-

writer is null.

Applies to