Saml2SecurityTokenHandler.WriteStatement(XmlWriter, Saml2Statement) 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 Saml2Statement.
protected:
virtual void WriteStatement(System::Xml::XmlWriter ^ writer, System::IdentityModel::Tokens::Saml2Statement ^ data);
protected virtual void WriteStatement (System.Xml.XmlWriter writer, System.IdentityModel.Tokens.Saml2Statement data);
abstract member WriteStatement : System.Xml.XmlWriter * System.IdentityModel.Tokens.Saml2Statement -> unit
override this.WriteStatement : System.Xml.XmlWriter * System.IdentityModel.Tokens.Saml2Statement -> unit
Protected Overridable Sub WriteStatement (writer As XmlWriter, data As Saml2Statement)
Parameters
- data
- Saml2Statement
The data to write.
Exceptions
Remarks
This method may write a <saml:AttributeStatement>, <saml:AuthnStatement>, or <saml:AuthzDecisionStatement> element. To handle custom Saml2Statement 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.