Share via


IVsOutputWindowPane.FlushToTaskList Method

Definition

Causes any output messages that were added by means of a call to the OutputTaskItemString(String, VSTASKPRIORITY, VSTASKCATEGORY, String, Int32, String, UInt32, String) method to be added as tasks to the task list tool window.

public:
 int FlushToTaskList();
public:
 int FlushToTaskList();
int FlushToTaskList();
public int FlushToTaskList ();
abstract member FlushToTaskList : unit -> int
Public Function FlushToTaskList () As Integer

Returns

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Remarks

This method is primarily used in reference to the Build Output pane. This method can be used to add build errors and warnings to the task list. Task items added to the TaskList by means of this method remain in the task list until the Output window is cleared.

Applies to