SamlSecurityTokenHandler.ReadCondition(XmlReader) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.