IVsTaskListEvents::OnCommentTaskInfoChanged Method ()

 

Provides notification that the set of comment task tokens has been modified.

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

int OnCommentTaskInfoChanged()

Return Value

Type: System::Int32

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

Comment task tokens can be changed or added by users through the Visual Studio IDE by selecting the Task List node of the Environment tree from the Options menu item of the Tools menu.

Task providers that provide comment tasks should call this method to ensure that their information regarding comment tasks remains current with the task list. This method can be used to update the information in IVsCommentTaskInfo, and to refresh the task list in case new tasks exist that are based upon the updated comment task tokens.

Return to top
Show: