Mono Class Library: System.Console Overview | Members

System.Console.OpenStandardError Method

Returns the standard error stream.

public static System.IO.Stream OpenStandardError (int bufferSize)

Parameters

bufferSize
A int that specifies the desired internal stream buffer size.

Returns

A new synchronized System.IO.Stream object that writes to the console.

Remarks

Buffering console streams is not required to be supported. If it is not supported, the bufferSize parameter is ignored, and this method behaves identically to Console.OpenStandardError(). If buffering is supported, the buffering behavior of the Console class is implementation-specific.

Requirements

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