CodeGroup Constructor (IMembershipCondition, PolicyStatement)
Initializes a new instance of CodeGroup.
Assembly: mscorlib (in mscorlib.dll)
protected CodeGroup( IMembershipCondition membershipCondition, PolicyStatement policy )
A membership condition that tests evidence to determine whether this code group applies policy.
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.
Available since 1.1