Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

RuleSet Class

 

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.

Namespace:   System.Workflow.Activities.Rules
Assembly:  System.Workflow.Activities (in System.Workflow.Activities.dll)

System::Object
  System.Workflow.Activities.Rules::RuleSet

[SerializableAttribute]
public ref class RuleSet 

NameDescription
System_CAPS_pubmethodRuleSet()

Initializes a new instance of the RuleSet class.

System_CAPS_pubmethodRuleSet(String^)

Initializes a new instance of the RuleSet class by using the name of the RuleSet.

System_CAPS_pubmethodRuleSet(String^, String^)

Initializes a new instance of the RuleSet class by using the name and description of the RuleSet.

NameDescription
System_CAPS_pubpropertyChainingBehavior

Gets or sets the forward chaining behavior for the Rule classes in the RuleSet.

System_CAPS_pubpropertyDescription

Gets or sets a description of the RuleSet.

System_CAPS_pubpropertyName

Gets and sets the name of the RuleSet.

System_CAPS_pubpropertyRules

Gets a list of Rule classes in the RuleSet.

NameDescription
System_CAPS_pubmethodClone()

Creates a deep copy of the current RuleSet.

System_CAPS_pubmethodEquals(Object^)

Determines whether two object instances are equal.(Overrides Object::Equals(Object^).)

System_CAPS_pubmethodExecute(RuleExecution^)

Evaluates the Rule instances in the RuleSet.

System_CAPS_protmethodFinalize()

Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

Returns the hash code for this instance.(Overrides Object::GetHashCode().)

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_protmethodMemberwiseClone()

Creates a shallow copy of the current Object.(Inherited from Object.)

System_CAPS_pubmethodToString()

Returns a string that represents the current object.(Inherited from Object.)

System_CAPS_pubmethodValidate(RuleValidation^)

Validates the RuleSet attributes and the Rule classes in the RuleSet.

.NET Framework
Available since 3.0

Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show:
© 2017 Microsoft