RuleSet Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.
public ref class RuleSet
[System.Serializable]
public class RuleSet
[<System.Serializable>]
type RuleSet = class
Public Class RuleSet
- Inheritance
-
RuleSet
- Attributes
Constructors
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. |
Properties
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 or sets the name of the RuleSet. |
Rules |
Methods
Clone() |
Creates a deep copy of the current RuleSet. |
Equals(Object) |
Determines whether two object instances are equal. |
Execute(RuleExecution) | |
GetHashCode() |
Returns the hash code for this instance. |
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(RuleValidation) |
Validates the RuleSet attributes and the Rule classes in the RuleSet. |