Source.RemoveTask Method

Removes the specified error task from the error Task window.

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

Syntax

'宣言
Public Sub RemoveTask ( _
    task As DocumentTask _
)
'使用
Dim instance As Source
Dim task As DocumentTask

instance.RemoveTask(task)
public void RemoveTask(
    DocumentTask task
)
public:
void RemoveTask(
    DocumentTask^ task
)
public function RemoveTask(
    task : DocumentTask
)

Parameters

Remarks

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

Permissions

See Also

Reference

Source Class

Source Members

Microsoft.VisualStudio.Package Namespace