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);
   }
}




















Home »
  C# Tutorial »
    System »




Array
BitConverter
Boolean
Byte
Char
Console
ConsoleKeyInfo
Convert
DateTime
DateTimeOffset
Decimal
Double
Enum
Environment
Exception
Guid
Int16
Int32
Int64
Math
OperatingSystem
Random
SByte
Single
String
StringComparer
TimeSpan
TimeZone
TimeZoneInfo
Tuple
Tuple
Tuple
Type
UInt16
UInt32
UInt64
Uri
Version