Gets or sets callback parameters to invoke upon receipt of the response packet.
Namespace: RRAutoLib.LoconetAssembly: RRAutoLib (in RRAutoLib.dll) Version: 1.4.4504.18867
Syntax
| C# |
|---|
public Packet..::..CallBack CallBackOnResponse { get; set; } |
| Visual Basic |
|---|
Public Property CallBackOnResponse 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 when this packet receives it's response packet. The response packet will be passed as a parameter to the invoked method.
Note: This property is relevant only for packets that expect responses.
Note: This property is relevant only for packets that expect responses.
Examples
See the Packet..::..CallBack class for a code example.