SamlSecurityTokenHandler.ReadCondition(XmlReader) Method

Definition

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

C#
protected virtual System.IdentityModel.Tokens.SamlCondition ReadCondition(System.Xml.XmlReader reader);

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

Produkt Versiounen
.NET Framework 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1