e79aa3c0ed
Former-commit-id: a2155e9bd80020e49e72e86c44da02a8ac0e57a4
30 lines
770 B
C#
30 lines
770 B
C#
// ==++==
|
|
//
|
|
// Copyright (c) Microsoft Corporation. All rights reserved.
|
|
//
|
|
// ==--==
|
|
/*=============================================================================
|
|
**
|
|
** Class: ConsoleSpecialKey
|
|
**
|
|
**
|
|
** Purpose: This enumeration represents how a process can be interrupted with
|
|
** a cancel request from the user, like Control-C and Control-Break.
|
|
** We may eventually add in a small number of other cases.
|
|
**
|
|
**
|
|
=============================================================================*/
|
|
|
|
using System.Runtime.InteropServices;
|
|
|
|
namespace System {
|
|
[Serializable]
|
|
|
|
public enum ConsoleSpecialKey
|
|
{
|
|
// We realize this is incomplete, and may add values in the future.
|
|
ControlC = 0,
|
|
ControlBreak = 1,
|
|
}
|
|
}
|