Source::GetTaskProvider Method ()

 

Gets the task provider that manages the error tasks.

Namespace:   Microsoft.VisualStudio.Package
Assembly:  Microsoft.VisualStudio.Package.LanguageService.14.0 (in Microsoft.VisualStudio.Package.LanguageService.14.0.dll)

public:
virtual TaskProvider^ GetTaskProvider()

The TaskProvider manages the error Task window to show any error tasks that result from parsing errors. If you need to provide your own version of the TaskProvider class, you must derive a class from the Source class and override this method in order to instantiate your own TaskProvider class.

The base method returns the existing TaskProvider object or creates a new TaskProvider object, makes it the existing one, and returns it.

Return to top
Show: