This documentation is archived and is not being maintained.
RuleSet Class
Visual Studio 2010
Contains a collection of Rule classes along with the semantics for forward-chaining execution of those rules. A RuleSet can be executed directly in code or using the PolicyActivity activity.
Assembly: System.Workflow.Activities (in System.Workflow.Activities.dll)
The RuleSet type exposes the following members.
| Name | Description | |
|---|---|---|
![]() | RuleSet() | Initializes a new instance of the RuleSet class. |
![]() | RuleSet(String) | Initializes a new instance of the RuleSet class by using the name of the RuleSet. |
![]() | RuleSet(String, String) | Initializes a new instance of the RuleSet class by using the name and description of the RuleSet. |
| Name | Description | |
|---|---|---|
![]() | ChainingBehavior | Gets or sets the forward chaining behavior for the Rule classes in the RuleSet. |
![]() | Description | Gets or sets a description of the RuleSet. |
![]() | Name | Gets and sets the name of the RuleSet. |
![]() | Rules | Gets a list of Rule classes in the RuleSet. |
| Name | Description | |
|---|---|---|
![]() | Clone | Creates a deep copy of the current RuleSet. |
![]() | Equals | Determines whether two object instances are equal. (Overrides Object::Equals(Object).) |
![]() | Execute | Evaluates the Rule instances in the RuleSet. |
![]() | Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
![]() | GetHashCode | Returns the hash code for this instance. (Overrides Object::GetHashCode().) |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() | ToString | Returns a string that represents the current object. (Inherited from Object.) |
![]() | Validate | Validates the RuleSet attributes and the Rule classes in the RuleSet. |
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:
