Upravit

Sdílet prostřednictvím


RuleUpdateAction Class

Definition

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

public ref class RuleUpdateAction : System::Workflow::Activities::Rules::RuleAction
[System.Serializable]
public class RuleUpdateAction : System.Workflow.Activities.Rules.RuleAction
[<System.Serializable>]
type RuleUpdateAction = class
    inherit RuleAction
Public Class RuleUpdateAction
Inherits RuleAction
Inheritance
RuleUpdateAction
Attributes

Remarks

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.

Constructors

RuleUpdateAction()

Initializes a new instance of the RuleUpdateAction class.

RuleUpdateAction(String)

Initializes a new instance of the RuleUpdateAction class.

Properties

Path

Gets or sets the path of the RuleUpdateAction.

Methods

Clone()

Creates a deep copy of the current RuleAction.

Equals(Object)

Determines whether two object instances are equal.

Execute(RuleExecution)

Executes the RuleAction using the specified RuleExecution.

GetHashCode()

Returns the hash code for this instance.

GetSideEffects(RuleValidation)

Returns the fields and properties updated by a RuleAction.

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 indicates the field or property that the Rule is updating.

Validate(RuleValidation)

Verifies that the RuleAction is configured correctly and has no errors.

Applies to