編輯

共用方式為


RuleConditionDialog Constructors

Definition

Initializes a new instance of the RuleConditionDialog class.

Overloads

RuleConditionDialog(Activity, CodeExpression)

Initializes a new instance of the RuleConditionDialog class.

RuleConditionDialog(Type, ITypeProvider, CodeExpression)

Initializes a new instance of the RuleConditionDialog class with the specified activity type, the type provider, and the expression.

RuleConditionDialog(Activity, CodeExpression)

Initializes a new instance of the RuleConditionDialog class.

public:
 RuleConditionDialog(System::Workflow::ComponentModel::Activity ^ activity, System::CodeDom::CodeExpression ^ expression);
public RuleConditionDialog (System.Workflow.ComponentModel.Activity activity, System.CodeDom.CodeExpression expression);
new System.Workflow.Activities.Rules.Design.RuleConditionDialog : System.Workflow.ComponentModel.Activity * System.CodeDom.CodeExpression -> System.Workflow.Activities.Rules.Design.RuleConditionDialog
Public Sub New (activity As Activity, expression As CodeExpression)

Parameters

activity
Activity

The Activity that this condition is executed against. Typically it is the workflow, but it can be any valid activity.

expression
CodeExpression

The initial CodeExpression to be displayed.

Applies to

RuleConditionDialog(Type, ITypeProvider, CodeExpression)

Initializes a new instance of the RuleConditionDialog class with the specified activity type, the type provider, and the expression.

public:
 RuleConditionDialog(Type ^ activityType, System::Workflow::ComponentModel::Compiler::ITypeProvider ^ typeProvider, System::CodeDom::CodeExpression ^ expression);
public RuleConditionDialog (Type activityType, System.Workflow.ComponentModel.Compiler.ITypeProvider typeProvider, System.CodeDom.CodeExpression expression);
new System.Workflow.Activities.Rules.Design.RuleConditionDialog : Type * System.Workflow.ComponentModel.Compiler.ITypeProvider * System.CodeDom.CodeExpression -> System.Workflow.Activities.Rules.Design.RuleConditionDialog
Public Sub New (activityType As Type, typeProvider As ITypeProvider, expression As CodeExpression)

Parameters

activityType
Type

The type of the object that this condition is executed against. Normally it is the workflow, but can be any valid type.

typeProvider
ITypeProvider

An optional ITypeProvider implementation that is used to determine what types are available in the condition. If one is not specified, only types in the assembly specified by activityType and any assemblies it references is available.

expression
CodeExpression

The initial CodeExpression to be displayed.

Applies to