DefaultClaimSet Constructor (IList<Claim>)

 
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.

Initializes a new instance of the DefaultClaimSet class, using the specified claims.

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

public DefaultClaimSet(
	IList<Claim> claims
)

Parameters

claims
Type: System.Collections.Generic.IList<Claim>

An IList<T> of type Claim that contains the claims to add to this claim set.

Exception Condition
ArgumentNullException

claims is null.

Use this constructor when the ClaimSet is self-issued. For example, a claim set for an anonymous user is self-issued.

This constructor calls the Initialize method.

.NET Framework
Available since 3.0
Return to top
Show: