SamlSecurityTokenHandler.WriteEvidence Method (XmlWriter, SamlEvidence)

.NET Framework (current version)
 

Writes the <saml:Evidence> element.

Namespace:   System.IdentityModel.Tokens
Assembly:  System.IdentityModel (in System.IdentityModel.dll)

protected virtual void WriteEvidence(
	XmlWriter writer,
	SamlEvidence evidence
)

Parameters

writer
Type: System.Xml.XmlWriter

The XmlWriter with which to write the data.

evidence
Type: System.IdentityModel.Tokens.SamlEvidence

The data to write.

Exception Condition
ArgumentNullException

evidence is null.

-or-

writer is null.

.NET Framework
Available since 4.5
Return to top
Show: