Source.RemoveTask(DocumentTask) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Removes the specified error task from the error Task window.
public:
void RemoveTask(Microsoft::VisualStudio::Package::DocumentTask ^ task);
public void RemoveTask (Microsoft.VisualStudio.Package.DocumentTask task);
member this.RemoveTask : Microsoft.VisualStudio.Package.DocumentTask -> unit
Public Sub RemoveTask (task As DocumentTask)
Parameters
- task
- DocumentTask
A DocumentTask object representing the error task to remove.
Remarks
This method searches the internal TaskProvider list for a matching DocumentTask object and removes the found object.