Gets or sets callback parameters to invoke upon successfull packet transmission.
Namespace:
RRAutoLib.LoconetAssembly: RRAutoLib (in RRAutoLib.dll) Version: 1.3.3371.40749 (1.3.0.0)
Syntax
| Visual Basic (Declaration) |
|---|
Public Property CallBackOnRequest As Packet..::.CallBack |
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.