Console Events

The Console type exposes the following members.

  Name Description
Public event Static member CancelKeyPress Occurs when the Control modifier key (Ctrl) and either the ConsoleKey.C console key (C) or the Break key are pressed simultaneously (Ctrl+C or Ctrl+Break).
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
© 2015 Microsoft