NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

FirstMatchCodeGroup Constructor

Initializes an instance of the FirstMatchCodeGroup class.

[Visual Basic]
Public Sub New( _
   ByVal membershipCondition As IMembershipCondition, _
   ByVal policy As PolicyStatement _
)
[C#]
public FirstMatchCodeGroup(
   IMembershipCondition membershipCondition,
   PolicyStatement policy
);
[C++]
public: FirstMatchCodeGroup(
   IMembershipCondition* membershipCondition,
   PolicyStatement* policy
);
[JScript]
public function FirstMatchCodeGroup(
   membershipCondition : IMembershipCondition,
   policy : PolicyStatement
);

Parameters

membershipCondition
Membership condition that tests evidence to see if this code group applies policy or not.
policy
[To be supplied.]

Exceptions

Exception Type Condition
ArgumentException if the type of either argument is invalid.

Remarks

This constructor creates a basic code group. Child code groups may be added with the AddChild() method.

See Also

FirstMatchCodeGroup Class | FirstMatchCodeGroup Members | System.Security.Policy Namespace