IVsTaskListEvents.OnCommentTaskInfoChanged Method

Definition

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

public:
 int OnCommentTaskInfoChanged();
public:
 int OnCommentTaskInfoChanged();
int OnCommentTaskInfoChanged();
public int OnCommentTaskInfoChanged ();
abstract member OnCommentTaskInfoChanged : unit -> int
Public Function OnCommentTaskInfoChanged () As Integer

Returns

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.

Applies to