Condividi tramite


Source.RemoveTask Method

Removes the specified error task from the error Task window.

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

Syntax

'Dichiarazione
Public Sub RemoveTask ( _
    task As DocumentTask _
)
'Utilizzo
Dim instance As Source
Dim task As DocumentTask

instance.RemoveTask(task)
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

Source Members

Microsoft.VisualStudio.Package Namespace