SamlSecurityTokenHandler.WriteDoNotCacheCondition Method (XmlWriter, SamlDoNotCacheCondition)

.NET Framework (current version)
 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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: