SamlSecurityTokenHandler.WriteStatement(XmlWriter, SamlStatement) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
- statement
- SamlStatement
The data to write.
Exceptions
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.