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

SamlSecurityTokenHandler.ReadConditions Method (XmlReader)

.NET Framework (current version)
 

Reads the <saml:Conditions> element.

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

protected virtual SamlConditions ReadConditions(
	XmlReader reader
)

Parameters

reader
Type: System.Xml.XmlReader

An XmlReader positioned at the element to read.

Return Value

Type: System.IdentityModel.Tokens.SamlConditions

A SamlConditions that represents the Conditions element that is read.

Exception Condition
ArgumentNullException

reader is null.

XmlException

reader is not positioned at a Conditions element.

To handle custom <saml:Condition> elements, override this method.

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