Gets or sets a value indicating whether events and callback delegates are invoked.

Syntax

Namespace: NationalInstruments.ModularInstruments.NIRfsa

public bool SynchronizeCallbacks { get; set; }

Remarks

true if events and callbacks are invoked through the System.Threading.SynchronizationContext.Send or System.Threading.SynchronizationContext.Post methods; otherwise, events and callbacks are invoked directly. The default value is true.

Exceptions

TypeDescription
System.ObjectDisposedException

The SynchronizeCallbacks property was accessed after the associated NIRfsa object was disposed.