SamlSerializer.WriteDoNotCacheCondition 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: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.