Gets or sets the SyncContext object on whose thread events are raised.

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

Syntax

C#
public SyncContext SyncContext { get; set; }
Visual Basic
Public Property SyncContext As SyncContext
	Get
	Set

Field Value

A SyncContext instance created on the thread to be synchronized on.

Remarks

The RxPacketOnSyncThread event will be raised on this object's thread. If left null (Default), the RxPacketOnSyncThread event will not be raised but the RxPacketOnWorkerThread event will still be raised.

Examples

See the Start()()()() method for a code example.

See Also