SamlSecurityTokenHandler.ReadCondition(XmlReader) Method

Definition

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

protected:
 virtual System::IdentityModel::Tokens::SamlCondition ^ ReadCondition(System::Xml::XmlReader ^ reader);
protected virtual System.IdentityModel.Tokens.SamlCondition ReadCondition (System.Xml.XmlReader reader);
abstract member ReadCondition : System.Xml.XmlReader -> System.IdentityModel.Tokens.SamlCondition
override this.ReadCondition : System.Xml.XmlReader -> System.IdentityModel.Tokens.SamlCondition
Protected Overridable Function ReadCondition (reader As XmlReader) As SamlCondition

Parameters

reader
XmlReader

The reader from which to read the element.

Returns

The SamlCondition that was read from the XML.

Exceptions

reader is null.

reader is positioned at an unknown element.

Applies to