ActivityChangeAction.ValidateChanges(Activity) Yöntem

Tanım

Hedef etkinlikte bekleyen değişiklikleri doğrular.

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

Parametreler

contextActivity
Activity

Değişikliklerinin doğrulanması için etkinlik.

Döndürülenler

ValidationErrorCollection Hedef etkinlik için tanımlanan her ValidationError birinin çalıştırılmasından kaynaklanan sonuçları Validator içeren bir.

Özel durumlar

contextActivity null başvurudur (Visual Basic Nothing).

Açıklamalar

Güvenli bir contextActivity şekilde null başvuruya atanamazsa CompositeActivity döndürülür.

Şunlara uygulanır