NI-SWITCH 19.0 .NET Framework 4.0 API Reference

Content Type
Programming Language
Current manual
Table of Contents

SynchronizeCallbacks Property

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)

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

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

See Also

Was this information helpful?