Partager via


SamlSerializer.WriteDoNotCacheCondition Method

Definition

Writes the <saml:DoNotCacheCondition> element.

protected virtual void WriteDoNotCacheCondition (System.Xml.XmlWriter writer, Microsoft.IdentityModel.Tokens.Saml.SamlDoNotCacheCondition condition);
abstract member WriteDoNotCacheCondition : System.Xml.XmlWriter * Microsoft.IdentityModel.Tokens.Saml.SamlDoNotCacheCondition -> unit
override this.WriteDoNotCacheCondition : System.Xml.XmlWriter * Microsoft.IdentityModel.Tokens.Saml.SamlDoNotCacheCondition -> unit
Protected Overridable Sub WriteDoNotCacheCondition (writer As XmlWriter, condition As SamlDoNotCacheCondition)

Parameters

writer
XmlWriter

A XmlWriter to serialize the SamlDoNotCacheCondition.

condition
SamlDoNotCacheCondition

The SamlDoNotCacheCondition to serialize.

Exceptions

if condition is null.

Applies to