Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
MembershipCondition Property

CodeGroup.MembershipCondition Property

Gets or sets the code group's membership condition.

Namespace:  System.Security.Policy
Assembly:  mscorlib (in mscorlib.dll)

public IMembershipCondition MembershipCondition { get; set; }

Property Value

Type: System.Security.Policy.IMembershipCondition
The membership condition that determines to which evidence the code group is applicable.

ExceptionCondition
ArgumentNullException

An attempt is made to set this parameter to null.

A membership condition tests evidence and returns a Boolean value that tells whether there is a match.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0, 1.1

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
Show:
© 2015 Microsoft