Method JoinRun
JoinRun(int)
Joins the run of a command the app started for this tool: every request made on this connection from now on is part of that run, so that the changes CommitChanges() makes are in the one undo step of the command, and Esc in the app takes them back. The run is left by End() or Fail(string).
public CadRemoteRun JoinRun(int run)
Parameters
runintThe number of the run, as the app told the tool when it started the command.
Returns
- CadRemoteRun
The run.
Exceptions
- ArgumentOutOfRangeException
Thrown when the number is not above nought.