Edytuj

Udostępnij za pośrednictwem


RuleHaltAction Class

Definition

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

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

Remarks

The Halt action is similar to a break command, although it ends the execution of the RuleSet. The Halt action will stop execution of the RuleSet when all the actions in the same action block have finished executing.

Constructors

RuleHaltAction()

Initializes a new instance of the RuleHaltAction class.

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 the 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 the string "Halt".

Validate(RuleValidation)

Returns true, no validation is performed.

Applies to