DefaultClaimSet Constructor (ClaimSet, IList<Claim>)

 

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,
	IList<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.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.

-or-

issuer is null.

This constructor calls the Initialize method.

.NET Framework
Available since 3.0
Return to top
Show: