SynchronizeCallbacks Property
- Updated2023-02-21
- 2 minute(s) read
Gets or sets how events and callback delegates are invoked.
Namespace:
NationalInstruments.ModularInstruments.NISwitch
Assembly:
NationalInstruments.ModularInstruments.NISwitch.Fx40 (in NationalInstruments.ModularInstruments.NISwitch.Fx40.dll) Version: 19.0.0.49152 (19.0.0.49152)
Syntax
Visual Basic (Declaration) |
---|
Public Property SynchronizeCallbacks As Boolean |
C# |
---|
public bool SynchronizeCallbacks { get; set; } |
Property Value
Type: System..::.Boolean trueTruetruetrue (True in Visual Basic) if events and callbacks are invoked through the Send or Post methods; otherwise, events and callbacks are invoked directly. The default value is trueTruetruetrue (True in Visual Basic).Implements
ISupportSynchronizationContext..::.SynchronizeCallbacks
Exceptions
Exception | Condition |
---|---|
ObjectDisposedException | The SynchronizeCallbacks property was accessed after the associated NISwitch object was disposed. |