Occurs when a Loconet packet is received.

Namespace: RRAutoLib.Loconet
Assembly: RRAutoLib (in RRAutoLib.dll) Version: 1.4.4420.16901

Syntax

C#
public event LoconetService..::..RxPacketHandler RxPacketOnSyncThread
Visual Basic
Public Event RxPacketOnSyncThread As LoconetService..::..RxPacketHandler

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