Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
Expand Minimize

Saml2SecurityTokenHandler.ReadAssertion Method

.NET Framework 4.6 and 4.5

Reads the <saml:Assertion> element.

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

protected virtual Saml2Assertion ReadAssertion(
	XmlReader reader
)

Parameters

reader
Type: System.Xml.XmlReader

An XmlReader positioned at the element to read.

Return Value

Type: System.IdentityModel.Tokens.Saml2Assertion
A Saml2Assertion that represents the Assertion element that is read.

ExceptionCondition
ArgumentNullException

reader is null.

.NET Framework

Supported in: 4.6, 4.5
Show:
© 2015 Microsoft