Share via


Saml2Serializer.WriteEvidence(XmlWriter, Saml2Evidence) Method

Definition

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.

Applies to