Source.RemoveTask Method

Removes the specified error task from the error Task window.

Namespace:  Microsoft.VisualStudio.Package
Assemblies:   Microsoft.VisualStudio.Package.LanguageService.12.0 (in Microsoft.VisualStudio.Package.LanguageService.12.0.dll)
  Microsoft.VisualStudio.Package.LanguageService.10.0 (in Microsoft.VisualStudio.Package.LanguageService.10.0.dll)
  Microsoft.VisualStudio.Package.LanguageService.11.0 (in Microsoft.VisualStudio.Package.LanguageService.11.0.dll)
  Microsoft.VisualStudio.Package.LanguageService.9.0 (in Microsoft.VisualStudio.Package.LanguageService.9.0.dll)
  Microsoft.VisualStudio.Package.LanguageService (in Microsoft.VisualStudio.Package.LanguageService.dll)

Syntax

'Declaration
Public Sub RemoveTask ( _
    task As DocumentTask _
)
public void RemoveTask(
    DocumentTask task
)
public:
void RemoveTask(
    DocumentTask^ task
)
member RemoveTask : 
        task:DocumentTask -> unit
public function RemoveTask(
    task : DocumentTask
)

Parameters

Remarks

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

.NET Framework Security

See Also

Reference

Source Class

Microsoft.VisualStudio.Package Namespace