Source::RemoveTask Method (DocumentTask^)

 

Removes the specified error task from the error Task window.

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

public:
void RemoveTask(
	DocumentTask^ task
)

Parameters

task
Type: Microsoft.VisualStudio.Package::DocumentTask^

A DocumentTask object representing the error task to remove.

This method searches the internal TaskProvider list for a matching DocumentTask object and removes the found object.

Return to top
Show: