Show / Hide Table of Contents

Enum StandardHandleInfo.StandardHandleState

This enumeration defines the two valid states and two defined error states that may be returned by the StandardHandleState method, along with a pair of values that may be returned to indicate one of two error conditions.

Namespace: WizardWrx.ConsoleStreams
Assembly: WizardWrx.ConsoleStreams.dll
Syntax
public enum StandardHandleState : int
Remarks

This is one of two public enumerations that were ported from StandardHandleState.H, the C/C++ header that defines the interfaces that this class supersedes.

Fields

Name Description
Attached

This member is returned when console stream that corresponds to the specified StandardConsoleHandle member is attached to its console.

Redirected

This member is returned when console stream that corresponds to the specified StandardConsoleHandle member is redirected to a file.

STATE_SYSTEM_ERROR

This member is returned when attempting to get the state of the specified StandardConsoleHandle raised an exception.

Undetermined

This member is returned when the supplied StandardConsoleHandle member is out of range.

  • Improve this Doc
  • View Source
Back to top Generated by DocFX