Partilhar via


VsValidationContext.OnNavigateToTask Method

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.

This API is not CLS-compliant. 

Namespace:  Microsoft.VisualStudio.Modeling.Shell
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Shell.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Shell.10.0.dll)

Syntax

'Declaração
<CLSCompliantAttribute(False)> _
Public Overridable Sub OnNavigateToTask ( _
    task As ValidationTask _
)
[CLSCompliantAttribute(false)]
public virtual void OnNavigateToTask(
    ValidationTask task
)
[CLSCompliantAttribute(false)]
public:
virtual void OnNavigateToTask(
    ValidationTask^ task
)
[<CLSCompliantAttribute(false)>]
abstract OnNavigateToTask : 
        task:ValidationTask -> unit 
[<CLSCompliantAttribute(false)>]
override OnNavigateToTask : 
        task:ValidationTask -> unit 
public function OnNavigateToTask(
    task : ValidationTask
)

Parameters

.NET Framework Security

See Also

Reference

VsValidationContext Class

Microsoft.VisualStudio.Modeling.Shell Namespace