IVsOutputWindowPane::FlushToTaskList Method ()

 

Causes any output messages that were added by means of a call to the OutputTaskItemString method to be added as tasks to the task list tool window.

Namespace:   Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)

int FlushToTaskList()

Return Value

Type: System::Int32

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

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.

Return to top
Show: