Export (0) Print
Expand All
Expand Minimize

SamlSecurityTokenHandler.ReadConditions Method

.NET Framework 4.5

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.

ExceptionCondition
ArgumentNullException

reader is null.

XmlException

reader is not positioned at a Conditions element.

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

.NET Framework

Supported in: 4.6, 4.5
Show:
© 2015 Microsoft