Partager via


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)

Syntax

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

Return Value

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

Remarks

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.

.NET Framework Security

See Also

Reference

IVsTaskListEvents Interface

Microsoft.VisualStudio.Shell.Interop Namespace