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
'Déclaration
<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
- task
Type: Microsoft.VisualStudio.Modeling.Shell.ValidationTask
Task List item
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.