Gets or sets callback parameters to invoke upon successfull packet transmission.
Namespace: RRAutoLib.LoconetAssembly: RRAutoLib (in RRAutoLib.dll) Version: 1.4.4504.18867
Syntax
| C# |
|---|
public Packet..::..CallBack CallBackOnEcho { get; set; } |
| Visual Basic |
|---|
Public Property CallBackOnEcho As Packet..::..CallBack Get Set |
Field Value
A Packet..::..CallBack instance. Nothing (default) if no callback is desired.
Remarks
The specified method in the given Packet..::..CallBack instance will be invoked imediately after the Loconet interface echoes back this transmitted packet. This packet will be passed as a parameter to the invoked method.
Examples
See the Packet..::..CallBack class for a code example.