Gets or sets how events and callback delegates are invoked.

Syntax

Namespace: NationalInstruments.ModularInstruments.NIRfsg

public bool SynchronizeCallbacks { get; set; }

Remarks

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

The default value is true.

Exceptions

TypeDescription
System.ObjectDisposedException

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