DefaultClaimSet.Initialize(ClaimSet, IList<Claim>) Method

Definition

Initializes an instance of the DefaultClaimSet class, using the specified claims.

protected:
 void Initialize(System::IdentityModel::Claims::ClaimSet ^ issuer, System::Collections::Generic::IList<System::IdentityModel::Claims::Claim ^> ^ claims);
protected void Initialize (System.IdentityModel.Claims.ClaimSet issuer, System.Collections.Generic.IList<System.IdentityModel.Claims.Claim> claims);
member this.Initialize : System.IdentityModel.Claims.ClaimSet * System.Collections.Generic.IList<System.IdentityModel.Claims.Claim> -> unit
Protected Sub Initialize (issuer As ClaimSet, claims As IList(Of Claim))

Parameters

issuer
ClaimSet

The ClaimSet object that issued the ClaimSet specified in the claims parameter.

claims
IList<Claim>

The set of Claim objects to be included in this claim set.

Exceptions

claims is null.

-or-

issuer is null.

Remarks

The constructors that take at least one parameter call the Initialize(ClaimSet, IList<Claim>) method.

Applies to