Export (0) Print
Expand All
Expand Minimize

SamlSecurityTokenHandler.ReadAudienceRestrictionCondition Method

.NET Framework 4.6 and 4.5

Reads the <saml:AudienceRestrictionCondition> element from the specified XML reader.

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

protected virtual SamlAudienceRestrictionCondition ReadAudienceRestrictionCondition(
	XmlReader reader
)

Parameters

reader
Type: System.Xml.XmlReader

An XML reader positioned at the <saml:AudienceRestrictionCondition> element to read.

Return Value

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

ExceptionCondition
ArgumentNullException

reader is null.

.NET Framework

Supported in: 4.6, 4.5
Show:
© 2015 Microsoft