Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

SamlAdvice Constructor (IEnumerable<String>, IEnumerable<SamlAssertion>)

Initializes a new instance of the SamlAdvice class using the specified collections of SAML assertions and SAML assertion references.

Namespace:  System.IdentityModel.Tokens
Assembly:  System.IdentityModel (in System.IdentityModel.dll)
public SamlAdvice(
	IEnumerable<string> references,
	IEnumerable<SamlAssertion> assertions
)

Parameters

references
Type: System.Collections.Generic.IEnumerable<String>

An IEnumerable<T> of type String that contains a collection of references to SAML assertions that provide additional information on a SAML assertion.

assertions
Type: System.Collections.Generic.IEnumerable<SamlAssertion>

An IEnumerable<T> of type SamlAssertion that contains SAML assertions that provide additional information for a SAML assertion.

ExceptionCondition
ArgumentException

references contains a null element.

-or-

assertions contains a null element.

The elements of the references parameter are added to the AssertionIdReferences property.

The elements of the assertions parameter are added to the Assertions property.

Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

.NET Framework

Supported in: 3.5, 3.0
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.