Console::OpenStandardError Method (Int32)
.NET Framework (current version)
Acquires the standard error stream, which is set to a specified buffer size.
Assembly: mscorlib (in mscorlib.dll)
public: [HostProtectionAttribute(SecurityAction::LinkDemand, UI = true)] static Stream^ OpenStandardError( int bufferSize )
Parameters
- bufferSize
-
Type:
System::Int32
The internal stream buffer size.
| Exception | Condition |
|---|---|
| ArgumentOutOfRangeException | bufferSize is less than or equal to zero. |
This method can be used to reacquire the standard error stream after it has been changed by the SetError method.
.NET Framework
Available since 1.1
Available since 1.1
Show: