SamlSecurityTokenHandler.ReadDoNotCacheCondition Method (XmlReader)

.NET Framework (current version)
 

Reads a saml:DoNotCacheCondition element from the specified XML reader.

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

protected virtual SamlDoNotCacheCondition ReadDoNotCacheCondition(
	XmlReader reader
)

Parameters

reader
Type: System.Xml.XmlReader

An XML reader positioned at a saml:DoNotCacheCondition element

Exception Condition
ArgumentNullException

reader is null.

XmlException

reader is not positioned at a saml:DoNotCacheCondition element.

.NET Framework
Available since 4.5
Return to top
Show: