ExitStatusEventHandler Delegate

[C#]

public delegate void ExitStatusEventHandler(
  object sender,
  ExitStatus status);

Parameters

  • sender: The source of the event.
  • status: An ExitStatus.

Remarks

Mostly used in combination with the [ClientSessionChannel]ExecRequest method. If the remote application terminates, its exit code is returned here.