Szerkesztés

Megosztás a következőn keresztül:


SamlSecurityTokenHandler.WriteStatement(XmlWriter, SamlStatement) Method

Definition

Writes a 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)

Parameters

writer
XmlWriter

The XmlWriter with which to write the data.

statement
SamlStatement

The data to write.

Exceptions

statement is null.

-or-

writer is null.

Remarks

This method may write a <saml:AttributeStatement>, <saml:AuthnStatement>, or <saml:AuthzDecisionStatement> element. To handle custom SamlStatement classes for writing a <saml:Statement> element, override this method.

Applies to