This documentation is archived and is not being maintained.
EvaluationContext::AddClaimSet Method
Visual Studio 2010
Adds a set of claims to the evaluation context.
Assembly: System.IdentityModel (in System.IdentityModel.dll)
public: virtual void AddClaimSet( IAuthorizationPolicy^ policy, ClaimSet^ claimSet ) abstract
Parameters
- policy
- Type: System.IdentityModel.Policy::IAuthorizationPolicy
An IAuthorizationPolicy that represents the authorization policy that is adding claims to the evaluation context.
- claimSet
- Type: System.IdentityModel.Claims::ClaimSet
A ClaimSet that contains a set of claims.
The claims are added to the set of claims contained within the ClaimSets property.
Each time the AddClaimSet method is called to add claims to the evaluation context, the Generation property should be incremented.
Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Show: