Bearbeiten

Teilen über


System.Workflow.Activities.Rules Namespace

Contains a set of classes that define the conditions and actions that form a rule.

Classes

AddedConditionAction

Represents the addition of a RuleCondition to a workflow during dynamic update. This class cannot be inherited.

AddedRuleSetAction

Represents the addition of a RuleSet during dynamic update. This class cannot be inherited.

RemovedConditionAction

Represents the removal of a RuleCondition from a workflow during dynamic update. This class cannot be inherited.

RemovedRuleSetAction

Represents the removal of a RuleSet during dynamic update. This class cannot be inherited.

Rule

Defines a condition with an associated set of actions to perform.

RuleAction

Represents an abstract class that defines an action to be executed if the associated Condition evaluates to true, for ThenActions, or false, for ElseActions. This class must be inherited.

RuleActionTrackingEvent

Contains the name, instance ID, and condition result of a rule that has been evaluated.

RuleAnalysis

Stores the fields and properties read by a condition or written to by an action.

RuleAttribute

Represents the base class for custom Rule attributes.

RuleCondition

Base type for RuleExpressionCondition and any custom conditions created by users.

RuleConditionChangeAction

Represents an abstract base class from which all dynamic update notifications of changes to RuleConditions must be derived.

RuleConditionCollection

Contains a collection of RuleCondition classes defined on the workflow. This class cannot be inherited.

RuleConditionReference

Represents a RuleCondition in the conditions collection and enables you to programmatically evaluate the condition.

RuleDefinitions

Represents the root of the .rules files and contains all the RuleSets and RuleConditions associated with a workflow. This class cannot be inherited.

RuleEngine

Used to perform RuleSet evaluation.

RuleEvaluationException

Represents the base class for all exceptions caused by rule evaluation issues.

RuleEvaluationIncompatibleTypesException

The exception that is thrown when attempting to apply an operator to incompatible operands when you evaluate a rule.

RuleException

Represents the base class for all exceptions caused by evaluation or validation of rules.

RuleExecution

Stores state information while executing RuleCondition or RuleAction classes.

RuleExpressionCondition

Defines the condition definition behind a RuleConditionReference. This class cannot be inherited.

RuleExpressionInfo

An instance of this class is returned by the Validate(RuleValidation, Boolean) method of an IRuleExpression expression.

RuleExpressionResult

Abstract class that is the base for classes representing the result of custom expressions based on the IRuleExpression interface.

RuleExpressionWalker

Propagates the current behavior in the expression to child nodes. This class cannot be inherited.

RuleHaltAction

Causes the RuleSet to stop executing and returns control back to the calling method.

RuleInvokeAttribute

Indicates that a method is invoked by a condition. This class cannot be inherited.

RuleLiteralResult

Represents the literal result of a custom expression written using IRuleExpression.

RulePathQualifier

Builds the path of a field or property.

RuleReadAttribute

Indicates that a property is read by a Rule. This class cannot be inherited.

RuleReadWriteAttribute

Represents the base class for the RuleReadAttribute and RuleWriteAttribute classes.

RuleSet

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.

RuleSetChangeAction

Represents an abstract base class from which all dynamic update notifications of changes to a RuleSet must be derived. This class cannot be inherited.

RuleSetCollection

Contains a collection of RuleSet classes defined in a workflow.

RuleSetReference

Holds the name of a RuleSet in the RuleSetCollection on the workflow. This class cannot be inherited.

RuleSetValidationException

Represents the exception thrown when processing cannot continue because a rule set cannot be validated.

RuleStatementAction

Specifies a property or field to update or a method to run using the CodeDom types.

RuleUpdateAction

Indicates that a rule is updating a variable, in order to cause reevaluation of affected rules.

RuleValidation

Validates expression conditions.

RuleWriteAttribute

Indicates that a property or field is written by the method or property that this attribute is applied to. This information is used by the rules engine to determine dependencies between rules. This class cannot be inherited.

UpdatedConditionAction

Represents the change to a RuleSet for dynamic updates. This class cannot be inherited.

UpdatedRuleSetAction

Represents the change to a RuleSet for dynamic updates. This class cannot be inherited.

Interfaces

IRuleExpression

Represents the base class from which custom expression writers must derive to write custom expressions.

Enums

RuleAttributeTarget

Specifies whether the path in a RuleReadAttribute or RuleWriteAttribute is for a method parameter, or this.

RuleChainingBehavior

Specifies the forward chaining behavior of the RuleSet.

RuleReevaluationBehavior

Specifies whether a Rule can be reevaluated.