Edit

Bagikan melalui


RuleStatementAction Class

Definition

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

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

Constructors

RuleStatementAction()

Initializes a new instance of the RuleStatementAction class.

RuleStatementAction(CodeExpression)

Initializes a new instance of the RuleStatementAction class using a CodeExpression.

RuleStatementAction(CodeStatement)

Initializes a new instance of the RuleStatementAction class using a CodeStatement.

Properties

CodeDomStatement

Gets or sets the code statement specifying the action to perform.

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 the string value of the action.

Validate(RuleValidation)

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

Applies to