Union
ConsoleKeyError
union struct ConsoleKeyError
Module: System
Assembly: System.Runtime.dll
Source file: ConsoleKeyError.rvn
Inheritance: Object → ValueType → ConsoleKeyError
Failure to acquire or read a synchronous terminal key session.
Cases
6 cases
case Unavailable
The host or redirected input does not support terminal key input.
case Busy
Input is already owned or a read overlaps another operation.
case Closed
The terminal key session is closed.
case ReadFailed
Terminal input or mode restoration failed.
case UnsupportedSequence
A consumed terminal escape sequence is not supported.
case InvalidUtf8
Consumed input contains malformed or truncated UTF-8.
Properties
2 items
HasValue: bool
Failure to acquire or read a synchronous terminal key session.
Value: object?
Failure to acquire or read a synchronous terminal key session.
Methods
4 items
Equals(other: object?) -> bool
Tests reference identity by default; an ordinary class may override equality.
Inherited from Object.Equals
GetHashCode() -> int
Returns a stable identity hash by default; an ordinary class may override it consistently with equality.
Inherited from Object.GetHashCode
GetType() -> TypeInfo
Returns metadata for the concrete runtime type of this instance.
Inherited from Object.GetType
ToString() -> string
Failure to acquire or read a synchronous terminal key session.
Overrides Object.ToString