Initializes a new instance of CodeGroup.
Assembly: mscorlib (in mscorlib.dll)
protected CodeGroup( IMembershipCondition membershipCondition, PolicyStatement policy )
- Type: System.Security.Policy.IMembershipCondition
A membership condition that tests evidence to determine whether this code group applies policy.
- Type: System.Security.Policy.PolicyStatement
The policy statement for the code group in the form of a permission set and attributes to grant code that matches the membership condition.
This constructor creates a basic code group and should be called from the constructors of custom code groups. You can add child code groups using the AddChild method.
Windows Phone 8.1, Windows Phone 8, Windows 8.1, Windows Server 2012 R2, Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.