LoconetServiceSyncContext Property |
Gets or sets the dispatcher that will be responsible for thread synchronization.
Namespace:
RRAutoLib.Loconet
Assembly:
RRAutoLib (in RRAutoLib.dll) Version: 4.0.8678.28884
Syntax
Remarks
LoconetService events will be raised on the thread this dispatcher is associated with. In most cases this will be the UI thread.
If left null (Default), the
RxPacketOnSyncThread event will not be raised but the
RxPacketOnWorkerThread event will still be raised.
ExamplesSee the
Start method for a code example.
See Also