RfsgDriverOperation.SynchronizeCallbacks Property
- Updated2024-05-08
- 1 minute(s) read
RfsgDriverOperationSynchronizeCallbacks Property
Gets or sets how events and callback delegates are invoked.
Namespace: NationalInstruments.ModularInstruments.NIRfsg
Assembly: NationalInstruments.ModularInstruments.NIRfsg.Fx40 (in NationalInstruments.ModularInstruments.NIRfsg.Fx40.dll) Version: 2022
Syntax
public bool SynchronizeCallbacks { get; set; }
Public Property SynchronizeCallbacks As Boolean Get Set
Property Value
Type: Booleanif events and callbacks are invoked through the Send(SendOrPostCallback, Object) or Post(SendOrPostCallback, Object); otherwise, events and callbacks are invoked directly.
The default value is .
Implements
ISupportSynchronizationContextSynchronizeCallbacksExceptions
Exception | Condition |
---|---|
ObjectDisposedException | The SynchronizeCallbacks property was accessed after the associated NIRfsg object was disposed. |