SamlSecurityTokenHandler.ReadCondition Method (XmlReader)

.NET Framework (current version)
 

Reads a saml:AudienceRestrictionCondition or a saml:DoNotCacheCondition from the specified reader

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

protected virtual SamlCondition ReadCondition(
	XmlReader reader
)

Parameters

reader
Type: System.Xml.XmlReader

The reader from which to read the element.

Return Value

Type: System.IdentityModel.Tokens.SamlCondition

The SamlCondition that was read from the XML.

Exception Condition
ArgumentNullException

reader is null.

XmlException

reader is positioned at an unknown element.

.NET Framework
Available since 4.5
Return to top
Show: