Share via


Saml2Serializer.ReadProxyRestriction(XmlDictionaryReader) Method

Definition

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

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

Parameters

reader
XmlDictionaryReader

A XmlReader positioned at a Saml2ProxyRestriction element.

Returns

An instance of Saml2ProxyRestriction

Remarks

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

Applies to