Evento ITagAggregator<T>.BatchedTagsChanged
Ocorre quando ocioso após um ou mais eventos de TagsChanged.
Namespace: Microsoft.VisualStudio.Text.Tagging
Assembly: Microsoft.VisualStudio.Text.Logic (em Microsoft.VisualStudio.Text.Logic.dll)
Sintaxe
'Declaração
Event BatchedTagsChanged As EventHandler(Of BatchedTagsChangedEventArgs)
event EventHandler<BatchedTagsChangedEventArgs> BatchedTagsChanged
event EventHandler<BatchedTagsChangedEventArgs^>^ BatchedTagsChanged {
void add (EventHandler<BatchedTagsChangedEventArgs^>^ value);
void remove (EventHandler<BatchedTagsChangedEventArgs^>^ value);
}
abstract BatchedTagsChanged : IEvent<EventHandler<BatchedTagsChangedEventArgs>,
BatchedTagsChangedEventArgs>
JScript não oferece suporte a eventos.
Comentários
Esta é uma versão em lote a TagsChanged evento. Um ou mais TagsChanged os eventos são acumulados e, em seguida, são gerados como um único BatchedTagsChanged evento ocioso usando o CurrentDispatcher que estava ativa quando o ITagAggregator<T> foi criado.
Este evento é menos barulhento que TagsChanged e é sempre gerado no thread que estava ativa quando o ITagAggregator<T> foi criado.
Segurança do .NET Framework
- Confiança total para o chamador imediato. O membro não pode ser usado por código parcialmente confiável. Para obter mais informações, consulte Usando bibliotecas de código parcialmente confiável.