다음을 통해 공유


VsValidationContext.OnNavigateToTask(ValidationTask) Method

Definition

Important

This API is not CLS-compliant.

Override to implement OnNavigate behavior for the supplied validation task list item. The default implementation calls DoCommand on the first item in DiagramNavigateCommands, and executes the ExplorerNavigateCommand, if available.

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

Parameters

task
ValidationTask

Task List item

Attributes

Applies to