IRuleExpression.Validate(RuleValidation, Boolean) 方法

定义

在派生类中重写时,验证表达式是否配置正确且没有错误。

public:
 System::Workflow::Activities::Rules::RuleExpressionInfo ^ Validate(System::Workflow::Activities::Rules::RuleValidation ^ validation, bool isWritten);
public System.Workflow.Activities.Rules.RuleExpressionInfo Validate (System.Workflow.Activities.Rules.RuleValidation validation, bool isWritten);
abstract member Validate : System.Workflow.Activities.Rules.RuleValidation * bool -> System.Workflow.Activities.Rules.RuleExpressionInfo
Public Function Validate (validation As RuleValidation, isWritten As Boolean) As RuleExpressionInfo

参数

validation
RuleValidation

要管理验证过程的 RuleValidation

isWritten
Boolean

如果写入表达式,则为 true;如果不写入表达式,则为 false

返回

表达式的 RuleExpressionInfo

适用于