|Download Help (Windows Only)|
Specifies that an object can use SynchronizationContext to customize how events and callback delegates are invoked.
Assembly: NationalInstruments.Common (in NationalInstruments.Common.dll) Version: 18.104.22.168
|Visual Basic (Declaration)|
Public Interface ISupportSynchronizationContext
public interface ISupportSynchronizationContext
Objects that implement SynchronizeCallbacks to determine how events and callback delegates are invoked. If SynchronizeCallbacks is false (False in Visual Basic), events and callbacks are directly invoked. If SynchronizeCallbacks is true (True in Visual Basic), events and callbacks are invoked through the Send or Post methods. For example, if an object that implements raises events in a separate thread and you want to handle the events in your user interface thread, you set SynchronizeCallbacks to true (True in Visual Basic) and begin the operation in the user interface thread.use
|Note: For more information, refer to Events, Callbacks, and Thread Safety in Measurement Studio .NET Class Libraries.|