Constraint.OnExecute(NativeActivityContext, Object, ValidationContext) 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.
When implemented by a derived class, validates the specified object using the specified native activity and validation contexts.
protected:
abstract void OnExecute(System::Activities::NativeActivityContext ^ context, System::Object ^ objectToValidate, System::Activities::Validation::ValidationContext ^ objectToValidateContext);
protected abstract void OnExecute (System.Activities.NativeActivityContext context, object objectToValidate, System.Activities.Validation.ValidationContext objectToValidateContext);
abstract member OnExecute : System.Activities.NativeActivityContext * obj * System.Activities.Validation.ValidationContext -> unit
Protected MustOverride Sub OnExecute (context As NativeActivityContext, objectToValidate As Object, objectToValidateContext As ValidationContext)
Parameters
- context
- NativeActivityContext
The workflow activity execution.
- objectToValidate
- Object
The activity to be validated.
- objectToValidateContext
- ValidationContext
The context of the activity to be validated.
Applies to
Colaborați cu noi pe GitHub
Sursa pentru acest conținut poate fi găsită pe GitHub, unde puteți, de asemenea, să creați și să consultați probleme și solicitări de tragere. Pentru mai multe informații, consultați ghidul nostru pentru colaboratori.