DefaultClaimSet Constructor (ClaimSet, 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(
	ClaimSet issuer,
	params Claim[] claims
)

Parameters

issuer
Type: System.IdentityModel.Claims.ClaimSet

A ClaimSet object that specifies the issuer of the ClaimSet specified in the claims parameter.

claims
Type: System.IdentityModel.Claims.Claim[]

An array of Claim that represents the claims to be added to this claim set.

Exception Condition
ArgumentNullException

claims is null.

-or-

issuer is null.

This constructor calls the Initialize method.

.NET Framework
Available since 3.0
Return to top
Show: