RuleUpdateAction Class

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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

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

System.Object
  System.Workflow.Activities.Rules.RuleAction
    System.Workflow.Activities.Rules.RuleUpdateAction

[SerializableAttribute]
public class RuleUpdateAction : RuleAction

NameDescription
System_CAPS_pubmethodRuleUpdateAction()

Initializes a new instance of the RuleUpdateAction class.

System_CAPS_pubmethodRuleUpdateAction(String)

Initializes a new instance of the RuleUpdateAction class.

NameDescription
System_CAPS_pubpropertyPath

Gets or sets the path of the RuleUpdateAction.

NameDescription
System_CAPS_pubmethodClone()

Creates a deep copy of the current RuleAction.(Overrides RuleAction.Clone().)

System_CAPS_pubmethodEquals(Object)

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

System_CAPS_pubmethodExecute(RuleExecution)

Executes the RuleAction using the specified RuleExecution.(Overrides RuleAction.Execute(RuleExecution).)

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_pubmethodGetSideEffects(RuleValidation)

Returns the fields and properties updated by a RuleAction.(Overrides RuleAction.GetSideEffects(RuleValidation).)

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 indicates the field or property that the Rule is updating.(Overrides Object.ToString().)

System_CAPS_pubmethodValidate(RuleValidation)

Verifies that the RuleAction is configured correctly and has no errors.(Overrides RuleAction.Validate(RuleValidation).)

This class is used to indicate to the rules engine that execution of this rule's set of actions causes a change to the field or property that is specified (or all fields and properties on an object), so that any rules that are dependent on this field or property can be reevaluated.

An Update call does not prevent other actions in the action block from executing. The set of fields/properties that are modified (specified through Update or by using RuleWriteAttributes on methods invoked) is used to determine chaining when the set of actions for this particular rule finishes executing.

.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: