System.Activities.Validation Namespace
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.
Provides classes related to custom activity validation.
Classes
ActivityValidationServices |
Provides the functionality to validate a workflow. |
AddValidationError |
Add a specified activity validation error to the activity before execution. |
AssertValidation |
Adds a constraint violation to a list of constraint violations if the Assertion condition evaluates to false. |
Constraint |
Handles the validation constraint that is used for validating an activity. |
Constraint<T> |
Handles a constraint used for validating an element of type T. |
GetChildSubtree |
Retrieves workflow child activities from an instance of an activity. |
GetParentChain |
Retrieves the collection of all activities which belong to the parent axis of an activity. |
GetWorkflowTree |
Retrieves a workflow tree from an instance of an activity. |
ValidationContext |
Generates results based on the correct context for the current node in the workflow tree. |
ValidationError |
Represents an instance of a validation error that occurs before execution of the workflow. |
ValidationResults |
Contains all validation errors generated by Validate(Activity) while validating a workflow. These errors are contained in the Errors and Warnings collections. |
ValidationSettings |
Represents a collection of settings that customize the behavior that Validate(Activity) will exhibit. It also enables the activity user to apply policy constraints to a workflow. |
.NET
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기