CompositeActivityValidator.ValidateActivityChange Yöntem
Tanım
Önemli
Bazı bilgiler ürünün ön sürümüyle ilgilidir ve sürüm öncesinde önemli değişiklikler yapılmış olabilir. Burada verilen bilgilerle ilgili olarak Microsoft açık veya zımni hiçbir garanti vermez.
Etkilenene Activity göre değişikliği doğrular ve hatayı sağlar.
public:
override System::Workflow::ComponentModel::Compiler::ValidationError ^ ValidateActivityChange(System::Workflow::ComponentModel::Activity ^ activity, System::Workflow::ComponentModel::ActivityChangeAction ^ action);
public override System.Workflow.ComponentModel.Compiler.ValidationError ValidateActivityChange(System.Workflow.ComponentModel.Activity activity, System.Workflow.ComponentModel.ActivityChangeAction action);
override this.ValidateActivityChange : System.Workflow.ComponentModel.Activity * System.Workflow.ComponentModel.ActivityChangeAction -> System.Workflow.ComponentModel.Compiler.ValidationError
Public Overrides Function ValidateActivityChange (activity As Activity, action As ActivityChangeAction) As ValidationError
Parametreler
- action
- ActivityChangeAction
Değişikliği ActivityChangeAction tanımlayan.
Döndürülenler
ValidationError doğrulamaya göre.
Özel durumlar
activity null başvurudur (Visual Basic Nothing).
-veya-
<code data-dev-comment-type="paramref">action</code> is a null reference (<code data-dev-comment-type="langword">Nothing</code>).
Açıklamalar
Doğrulama hatasız gerçekleşirse null başvuru (Nothing) döndürülür.