SamlSecurityTokenHandler.WriteDoNotCacheCondition Method

Definition

Writes the <saml:DoNotCacheCondition> element.

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

Parameters

writer
XmlWriter

The XML writer with which to write the data.

condition
SamlDoNotCacheCondition

The data to write.

Exceptions

writer is null.

-or-

condition is null.

Applies to