Condividi tramite


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)

Syntax

'Declaration
Function FlushToTaskList As Integer
int FlushToTaskList()
int FlushToTaskList()
abstract FlushToTaskList : unit -> int
function FlushToTaskList() : int

Return Value

Type: Int32
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.

.NET Framework Security

See Also

Reference

IVsOutputWindowPane Interface

Microsoft.VisualStudio.Shell.Interop Namespace