Mono Class Library: System.Console Overview | Members

System.Console.Error Property

Gets the system's standard error output stream.

public static System.IO.TextWriter Error { get; }

Value

A synchronized System.IO.TextWriter object where error output is sent.

Remarks

This property is read-only.

This property can be redirected using the Console.SetError(System.IO.TextWriter) method.

Note: If the application does not have a Console, Console.Error behaves like System.IO.TextWriter.Null.

Requirements

Namespace: System
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0