This documentation is archived and is not being maintained.

Console.OpenStandardError Method ()

.NET Framework 1.1

Acquires the standard error stream.

[Visual Basic]
Overloads Public Shared Function OpenStandardError() As Stream
[C#]
public static Stream OpenStandardError();
[C++]
public: static Stream* OpenStandardError();
[JScript]
public static function OpenStandardError() : Stream;

Return Value

The standard error stream.

Remarks

This method can be used to reacquire the standard error stream after it has been changed by the SetError method.

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Common Language Infrastructure (CLI) Standard

See Also

Console Class | Console Members | System Namespace | Console.OpenStandardError Overload List | Error | SetError

Show: