Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
ReadProxyRestriction Method
Collapse the table of content
Expand the table of content

Saml2SecurityTokenHandler.ReadProxyRestriction Method

.NET Framework 4.6 and 4.5

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

Namespace:  System.IdentityModel.Tokens
Assembly:  System.IdentityModel (in System.IdentityModel.dll)

protected virtual Saml2ProxyRestriction ReadProxyRestriction(
	XmlReader reader


Type: System.Xml.XmlReader

An XmlReader positioned at the element to read.

Return Value

Type: System.IdentityModel.Tokens.Saml2ProxyRestriction
A Saml2ProxyRestriction that represents the element that was read.


reader is null.

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

.NET Framework

Supported in: 4.6, 4.5
© 2015 Microsoft