編輯

共用方式為


RuleExpressionCondition Constructors

Definition

Initializes a new instance of the RuleExpressionCondition class.

Overloads

RuleExpressionCondition()

Initializes a new instance of the RuleExpressionCondition class.

RuleExpressionCondition(CodeExpression)

Initializes a new instance of the RuleExpressionCondition class by using a specified code expression.

RuleExpressionCondition(String)

Initializes a new instance of the RuleExpressionCondition class by using a specified name.

RuleExpressionCondition(String, CodeExpression)

Initializes a new instance of the RuleExpressionCondition class by using a specified name and code expression.

RuleExpressionCondition()

Initializes a new instance of the RuleExpressionCondition class.

public:
 RuleExpressionCondition();
public RuleExpressionCondition ();
Public Sub New ()

Applies to

RuleExpressionCondition(CodeExpression)

Initializes a new instance of the RuleExpressionCondition class by using a specified code expression.

public:
 RuleExpressionCondition(System::CodeDom::CodeExpression ^ expression);
public RuleExpressionCondition (System.CodeDom.CodeExpression expression);
new System.Workflow.Activities.Rules.RuleExpressionCondition : System.CodeDom.CodeExpression -> System.Workflow.Activities.Rules.RuleExpressionCondition
Public Sub New (expression As CodeExpression)

Parameters

expression
CodeExpression

The CodeExpression to initialize the RuleExpressionCondition with.

Applies to

RuleExpressionCondition(String)

Initializes a new instance of the RuleExpressionCondition class by using a specified name.

public:
 RuleExpressionCondition(System::String ^ conditionName);
public RuleExpressionCondition (string conditionName);
new System.Workflow.Activities.Rules.RuleExpressionCondition : string -> System.Workflow.Activities.Rules.RuleExpressionCondition
Public Sub New (conditionName As String)

Parameters

conditionName
String

The name of the condition to evaluate.

Exceptions

conditionName is a null reference (Nothing in Visual Basic).

Applies to

RuleExpressionCondition(String, CodeExpression)

Initializes a new instance of the RuleExpressionCondition class by using a specified name and code expression.

public:
 RuleExpressionCondition(System::String ^ conditionName, System::CodeDom::CodeExpression ^ expression);
public RuleExpressionCondition (string conditionName, System.CodeDom.CodeExpression expression);
new System.Workflow.Activities.Rules.RuleExpressionCondition : string * System.CodeDom.CodeExpression -> System.Workflow.Activities.Rules.RuleExpressionCondition
Public Sub New (conditionName As String, expression As CodeExpression)

Parameters

conditionName
String

The name of the condition to evaluate.

expression
CodeExpression

The CodeExpression to initialize the RuleExpressionCondition with.

Applies to