SamlSecurityTokenHandler.ReadAudienceRestrictionCondition Method (XmlReader)

.NET Framework (current version)
 

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.

Exception Condition
ArgumentNullException

reader is null.

.NET Framework
Available since 4.5
Return to top
Show: