Upgrade your Internet Experience
United States - English
Argentina (Español)
Australia (English)
Brasil (Português)
Canada (English)
Canada (Français)
中国 (简体中文)
Colombia (Español)
Deutschland (Deutsch)
España (Español)
France (Français)
India (English)
Italia (Italiano)
日本 (日本語)
México (Español)
Perú (Español)
Россия (Pусский)
United Kingdom (English)
United States (English)
More...
Microsoft.com
Welcome
Sign in
.NET Framework Developer Center
Home
Library
Learn
Downloads
Support
Community
Forums
Printer Friendly Version
Send
Add Content...
Click to Rate and Give Feedback
Give feedback on this content
MSDN Library
MSDN
Please Wait
MSDN Library
Please Wait
.NET Development
Please Wait
.NET Framework 3.5
Please Wait
.NET Framework Class Library
Please Wait
System.Workflow.Activities.Rules Na...
Please Wait
Switch on low bandwidth view
Collapse All
This page is specific to
Microsoft Visual Studio 2008/.NET Framework 3.5
Other versions are also available for the following:
.NET Framework 3.0
Microsoft Visual Studio 2010/.NET Framework 4.0
.NET Framework Class Library
System.Workflow.Activities.Rules Namespace
Contains a set of classes that define the conditions and actions that form a rule.
Classes
Class
Description
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
RuleCondition
s 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
RuleCondition
s 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
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
Interface
Description
IRuleExpression
Represents the base class from which custom expression writers must derive to write custom expressions.
Enumerations
Enumeration
Description
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.
Tags
:
Add a tag
Add
Cancel
Flag as
ContentBug
Community Content
Add new content
Annotations
|
Edit
Tags
:
Add a tag
Add
Cancel
Flag as
ContentBug
© 2009 Microsoft Corporation. All rights reserved.
Terms of Use
|
Trademarks
|
Privacy Statement