Redigera

Dela via


Saml2SecurityTokenHandler.ReadProxyRestriction(XmlReader) Method

Definition

Reads the <saml:ProxyRestriction> element, or a <saml:Condition> element that specifies an xsi:type of saml:ProxyRestrictionType.

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

Parameters

reader
XmlReader

An XmlReader positioned at the element to read.

Returns

A Saml2ProxyRestriction that represents the element that was read.

Exceptions

reader is null.

Remarks

In the default implementation, the maximum value of the Count attribute is limited to Int32.MaxValue.

Applies to