Saml2SecurityTokenHandler.ReadAttributeStatement Method (XmlReader)

.NET Framework (current version)
 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Reads the <saml:AttributeStatement> element, or a <saml:Statement> element that specifies an xsi:type of saml:AttributeStatementType.

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

protected virtual Saml2AttributeStatement ReadAttributeStatement(
	XmlReader reader
)

Parameters

reader
Type: System.Xml.XmlReader

An XmlReader positioned at the element to read.

Return Value

Type: System.IdentityModel.Tokens.Saml2AttributeStatement

A Saml2AttributeStatement that represents the element that is read.

Exception Condition
ArgumentNullException

reader is null.

.NET Framework
Available since 4.5
Return to top
Show: