RuleExpressionCondition Class
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.
Defines the condition definition behind a RuleConditionReference. This class cannot be inherited.
public ref class RuleExpressionCondition sealed : System::Workflow::Activities::Rules::RuleCondition
[System.Serializable]
public sealed class RuleExpressionCondition : System.Workflow.Activities.Rules.RuleCondition
[<System.Serializable>]
type RuleExpressionCondition = class
inherit RuleCondition
Public NotInheritable Class RuleExpressionCondition
Inherits RuleCondition
- Inheritance
- Attributes
Remarks
The RuleExpressionCondition class defines the base conditions evaluated when a RuleSet is executed.
This condition type is modeled with CodeDom types. For more information about CodeDom types, see CodeDOM Types Supported by Windows Workflow Foundation.
Constructors
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. |
Properties
Expression |
Gets or sets the expression condition to evaluate. |
Name |
Gets or sets the name of the condition to evaluate. |
Methods
Clone() |
Creates a deep copy of the current RuleExpressionCondition. |
Equals(Object) |
Determines whether two object instances are equal. |
Evaluate(RuleExecution) |
Evaluates the expression. |
GetDependencies(RuleValidation) |
Gets the dependencies for the RuleExpressionCondition. |
GetHashCode() |
Returns the hash code for this instance. |
GetType() |
Gets the Type of the current instance. (Inherited from Object) |
MemberwiseClone() |
Creates a shallow copy of the current Object. (Inherited from Object) |
OnRuntimeInitialized() |
Called when all properties have been given values. |
ToString() |
Returns the string value of the expression condition. |
Validate(RuleValidation) |
Verifies that the expression is configured correctly and has no errors. |
Applies to
.NET
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기