ConsoleSpecialKey Enumeration
.NET Framework (current version)
Specifies combinations of modifier and console keys that can interrupt the current process.
Assembly: mscorlib (in mscorlib.dll)
| Member name | Description | |
|---|---|---|
| ControlBreak | The ConsoleModifiers.Control modifier key plus the BREAK console key. | |
| ControlC | The ConsoleModifiers.Control modifier key plus the ConsoleKey.C console key. |
The ConsoleCancelEventArgs.SpecialKey property returns the ConsoleSpecialKey enumeration type.
Simultaneously pressing certain key combinations signals the operating system to interrupt the currently running process. The two valid key combinations are ConsoleModifiers.Control plus BREAK (CTRL+BREAK) and ConsoleModifiers.Control plus ConsoleKey.C (CTRL+C).
.NET Framework
Available since 2.0
Available since 2.0
Show: