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
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.