共用方式為


VsValidationContext.OnDeleteTask(ValidationTask) Method

Definition

Important

This API is not CLS-compliant.

Override to implement OnDelete behavior for the supplied validation task list item.

public:
 virtual void OnDeleteTask(Microsoft::VisualStudio::Modeling::Shell::ValidationTask ^ task);
[System.CLSCompliant(false)]
public virtual void OnDeleteTask (Microsoft.VisualStudio.Modeling.Shell.ValidationTask task);
public virtual void OnDeleteTask (Microsoft.VisualStudio.Modeling.Shell.ValidationTask task);
[<System.CLSCompliant(false)>]
abstract member OnDeleteTask : Microsoft.VisualStudio.Modeling.Shell.ValidationTask -> unit
override this.OnDeleteTask : Microsoft.VisualStudio.Modeling.Shell.ValidationTask -> unit
abstract member OnDeleteTask : Microsoft.VisualStudio.Modeling.Shell.ValidationTask -> unit
override this.OnDeleteTask : Microsoft.VisualStudio.Modeling.Shell.ValidationTask -> unit
Public Overridable Sub OnDeleteTask (task As ValidationTask)

Parameters

Attributes

Applies to