ITagAggregator<T>.BatchedTagsChanged Event

Occurs on idle after one or more TagsChanged events.

Namespace:  Microsoft.VisualStudio.Text.Tagging
Assembly:  Microsoft.VisualStudio.Text.Logic (in Microsoft.VisualStudio.Text.Logic.dll)

event EventHandler<BatchedTagsChangedEventArgs> BatchedTagsChanged

This is a batched version of the TagsChanged event. One or more TagsChanged events are accumulated and then raised as a single BatchedTagsChanged event on idle using the CurrentDispatcher that was active when the ITagAggregator<T> was created.

This event is less noisy than TagsChanged and is always raised on the thread that was active when the ITagAggregator<T> was created.

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2015 Microsoft