다음을 통해 공유


Source.RemoveTask(DocumentTask) Method

Definition

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.

Applies to