NI-SWITCH 19.0 .NET Framework 4.0 API Reference

Table of Contents

SynchronizeCallbacks Property

  • Updated2023-02-21
  • 2 minute(s) read
SynchronizeCallbacks Property
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)
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

ExceptionCondition
ObjectDisposedException The SynchronizeCallbacks property was accessed after the associated NISwitch object was disposed.

See Also

Log in to get a better experience