RuleExpressionCondition Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應