This documentation is archived and is not being maintained.

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


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.

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

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


references contains a null element.


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