C# Console OpenStandardError(Int32)
Description
Console OpenStandardError(Int32)
acquires the standard
error stream, which is set to a specified buffer size.
Syntax
Console.OpenStandardError(Int32)
has the following syntax.
[HostProtectionAttribute(SecurityAction.LinkDemand, UI = true)]
public static Stream OpenStandardError(
int bufferSize
)
Parameters
Console.OpenStandardError(Int32)
has the following parameters.
bufferSize
- The internal stream buffer size.
Returns
Console.OpenStandardError(Int32)
method returns The standard error stream.
Example
//from w ww .j a v a 2 s.c o m
using System;
public class Example
{
public static void Main()
{
Console.OpenStandardError(100);
}
}