Saml2Serializer.WriteEvidence(XmlWriter, Saml2Evidence) 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 the <saml:Evidence> element.
protected virtual void WriteEvidence (System.Xml.XmlWriter writer, Microsoft.IdentityModel.Tokens.Saml2.Saml2Evidence evidence);
abstract member WriteEvidence : System.Xml.XmlWriter * Microsoft.IdentityModel.Tokens.Saml2.Saml2Evidence -> unit
override this.WriteEvidence : System.Xml.XmlWriter * Microsoft.IdentityModel.Tokens.Saml2.Saml2Evidence -> unit
Protected Overridable Sub WriteEvidence (writer As XmlWriter, evidence As Saml2Evidence)
Parameters
- writer
- XmlWriter
A XmlWriter to serialize the Saml2Evidence.
- evidence
- Saml2Evidence
The Saml2Evidence to serialize.
Exceptions
if evidence
is null.
if Saml2Evidence does not contain any assertions or assertions references.