Partage via


WorkflowChangeAction.ValidateChanges(Activity) Méthode

Définition

En cas de substitution dans une classe dérivée, valide les modifications et retourne un ValidationErrorCollection qui contient toutes les erreurs.

protected public:
 abstract System::Workflow::ComponentModel::Compiler::ValidationErrorCollection ^ ValidateChanges(System::Workflow::ComponentModel::Activity ^ activity);
protected internal abstract System.Workflow.ComponentModel.Compiler.ValidationErrorCollection ValidateChanges (System.Workflow.ComponentModel.Activity activity);
abstract member ValidateChanges : System.Workflow.ComponentModel.Activity -> System.Workflow.ComponentModel.Compiler.ValidationErrorCollection
Protected Friend MustOverride Function ValidateChanges (activity As Activity) As ValidationErrorCollection

Paramètres

activity
Activity

Activity sur lequel valider les modifications.

Retours

ValidationErrorCollection

Un ValidationErrorCollection qui contient toutes les erreurs.

Exceptions

activityInstance est une référence Null (Nothing en Visual Basic).

S’applique à