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
'宣言
Function FlushToTaskList As Integer
'使用
Dim instance As IVsOutputWindowPane
Dim returnValue As Integer
returnValue = instance.FlushToTaskList()
int FlushToTaskList()
int FlushToTaskList()
function FlushToTaskList() : int
Return Value
Type: System.Int32
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.
Permissions
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.