WriteDoNotCacheCondition Method
TOC
Collapse the table of content
Expand the table of content

SamlSecurityTokenHandler.WriteDoNotCacheCondition Method (XmlWriter, SamlDoNotCacheCondition)

.NET Framework (current version)
 

Writes the <saml:DoNotCacheCondition> element.

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

protected virtual void WriteDoNotCacheCondition(
	XmlWriter writer,
	SamlDoNotCacheCondition condition
)

Parameters

writer
Type: System.Xml.XmlWriter

The XML writer with which to write the data.

condition
Type: System.IdentityModel.Tokens.SamlDoNotCacheCondition

The data to write.

Exception Condition
ArgumentNullException

writer is null.

-or-

condition is null.

.NET Framework
Available since 4.5
Return to top
Show:
© 2016 Microsoft