Validator.ValidateActivityChange Method (Activity, ActivityChangeAction)
When overridden in a derived class, validates a change based on a specified Activity being added or removed. This function is called during the application of changes that are made to the workflow during dynamic updates.
Assembly: System.Workflow.ComponentModel (in System.Workflow.ComponentModel.dll)
public virtual ValidationError ValidateActivityChange( Activity activity, ActivityChangeAction action )
The specified ActivityChangeAction.
Return ValueType: System.Workflow.ComponentModel.Compiler.ValidationError
The ValidationError generated by the operation.
In the base implementation, a null reference (Visual Basic Nothing) is returned.
Available since 3.0