Share via


ITaskNavigator Interface

Provides the customized navigational method for errors.

This API is not CLS-compliant. The CLS-compliant alternative is .

Namespace:  Microsoft.VisualStudio.Data.Schema.Project.Common.UI
Assembly:  Microsoft.VisualStudio.Data.Schema.Project (in Microsoft.VisualStudio.Data.Schema.Project.dll)

Syntax

'Declaration
<CLSCompliantAttribute(False)> _
Public Interface ITaskNavigator
'Usage
Dim instance As ITaskNavigator
[CLSCompliantAttribute(false)]
public interface ITaskNavigator
[CLSCompliantAttribute(false)]
public interface class ITaskNavigator
public interface ITaskNavigator
[<AbstractClassAttribute>]
[<CLSCompliantAttribute(false)>]
type ITaskNavigator =  interface end

Remarks

The implementing class is intended to call the corresponding method on ErrorTaskService, passing this instance and the corresponding ErrorManager. There may be multiple such implementations for each ErrorManager. When the user clicks on the error in the Visual Studio Error List, these methods are called in sequence for each registered ITaskNavigator for the corresponding ErrorManager until an implementation returns true.

One of the reasons a client may want to register multiple such classes is that client may have multiple derivations of DataSchemaError assigned to a single instance of ErrorManager and each of the errors may have different navigational requirements.

See Also

Reference

ITaskNavigator Members

Microsoft.VisualStudio.Data.Schema.Project.Common.UI Namespace