ConsoleCancelEventArgs Class

Provides data for the CancelKeyPress event. This class cannot be inherited.

Properties

  • Cancel   Gets or sets a value that indicates whether simultaneously pressing the Control modifier key and the C console key (Ctrl+C) or the Ctrl+Break keys terminates the current process. The default is false, which terminates the current process.
  • SpecialKey   Gets the combination of modifier and console keys that interrupted the current process.

Assemblies