LoconetService RxPacketOnSyncThread Event Railroad Automation Class Library
Occurs when a Loconet packet is received.

Namespace: RRAutoLib.Loconet
Assembly: RRAutoLib (in RRAutoLib.dll) Version: 1.4.4714.25322
Syntax

Public Event RxPacketOnSyncThread As LoconetService..::..RxPacketOnSyncThreadEventHandler
Remarks

Methods registered with this event will execute on the thread of the object specified by the SyncContext property. This is the prefered event over the alternative RxPacketOnWorkerThread because you can synchronize this event with your UI objects for thread safety.
Examples

See the Start  method for a code example.
See Also