CLR Events

The .NET Machine Agent monitors for CLR shutdown and restart events:

  • The agent reports an App Server Restart event and indicates if the restart was graceful or not.
  • For non-graceful shutdown, the agent reports a CLR Crash if it detects one.

The default exit code for a graceful shutdown is "0". If your Windows service or standalone application uses a different exit code, see "Profiler - Successful Exit Code Element" on .NET Agent Configuration Properties.