EventThrottlerTElement, TEventArgs Constructor (ISynchronizeInvoke) |
Namespace:
SD.Tools.Algorithmia.GeneralDataStructures
Assembly:
SD.Tools.Algorithmia (in SD.Tools.Algorithmia.dll) Version: 1.2.0.0 (1.2.16.0406)
Syntax public EventThrottler(
ISynchronizeInvoke synchronizingObject
)
Public Sub New (
synchronizingObject As ISynchronizeInvoke
)
Parameters
- synchronizingObject
- Type: System.ComponentModelISynchronizeInvoke
The synchronizing object. If null, the EventThrottled event might be raised by a different thread, as the System
timer used for queue processing is using a threadpool in that case. If the handler has to run on the same thread as the UI, specify a UI object
as synchronizingObject, e.g. a form object or control object on which this throttler is used.
Remarks Uses an interval of 500 and the default comparer
See Also