Constraint.AddValidationError(NativeActivityContext, ValidationError) Method
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.
Adds a validation error to a list of run-time validation errors that are attached to the execution context.
public:
static void AddValidationError(System::Activities::NativeActivityContext ^ context, System::Activities::Validation::ValidationError ^ error);
public static void AddValidationError (System.Activities.NativeActivityContext context, System.Activities.Validation.ValidationError error);
static member AddValidationError : System.Activities.NativeActivityContext * System.Activities.Validation.ValidationError -> unit
Public Shared Sub AddValidationError (context As NativeActivityContext, error As ValidationError)
Parameters
- context
- NativeActivityContext
The workflow activity execution environment.
- error
- ValidationError
A validation error that occurs during a workflow runtime.
Applies to
Συνεργαστείτε μαζί μας στο GitHub
Μπορείτε να βρείτε την πηγή για αυτό το περιεχόμενο στο GitHub, όπου μπορείτε επίσης να δημιουργήσετε και να εξετάσετε ζητήματα και αιτήματα έλξης. Για περισσότερες πληροφορίες, ανατρέξτε στον οδηγό συνεργατών.