ActivityChangeAction.ValidateChanges(Activity) 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.
Validates the changes pending on the target activity.
protected public:
override System::Workflow::ComponentModel::Compiler::ValidationErrorCollection ^ ValidateChanges(System::Workflow::ComponentModel::Activity ^ contextActivity);
protected internal override System.Workflow.ComponentModel.Compiler.ValidationErrorCollection ValidateChanges (System.Workflow.ComponentModel.Activity contextActivity);
override this.ValidateChanges : System.Workflow.ComponentModel.Activity -> System.Workflow.ComponentModel.Compiler.ValidationErrorCollection
Protected Friend Overrides Function ValidateChanges (contextActivity As Activity) As ValidationErrorCollection
Parameters
- contextActivity
- Activity
The activity to have its changes validated.
Returns
A ValidationErrorCollection that contains any ValidationError resulting from running each Validator defined for the target activity.
Exceptions
contextActivity
is a null reference (Nothing
in Visual Basic).
Remarks
If contextActivity
cannot be safely cast to a CompositeActivity a null reference is returned.
Applies to
التعاون معنا على GitHub
يمكن العثور على مصدر هذا المحتوى على GitHub حيث يمكنك أيضاً إضافة مشاكل وطلبات سحب ومراجعتها. للحصول على معلومات إضافية، اطلع على دليل المساهم لدينا.