InternalBufferOverflowException InternalBufferOverflowException InternalBufferOverflowException InternalBufferOverflowException Constructors

Definition

Overloads

InternalBufferOverflowException() InternalBufferOverflowException() InternalBufferOverflowException()

Initializes a new default instance of the InternalBufferOverflowException class.

InternalBufferOverflowException(String) InternalBufferOverflowException(String) InternalBufferOverflowException(String) InternalBufferOverflowException(String)

Initializes a new instance of the InternalBufferOverflowException class with the error message to be displayed specified.

InternalBufferOverflowException(SerializationInfo, StreamingContext) InternalBufferOverflowException(SerializationInfo, StreamingContext) InternalBufferOverflowException(SerializationInfo, StreamingContext) InternalBufferOverflowException(SerializationInfo, StreamingContext)

Initializes a new, empty instance of the InternalBufferOverflowException class that is serializable using the specified SerializationInfo and StreamingContext objects.

InternalBufferOverflowException(String, Exception) InternalBufferOverflowException(String, Exception) InternalBufferOverflowException(String, Exception) InternalBufferOverflowException(String, Exception)

Initializes a new instance of the InternalBufferOverflowException class with the message to be displayed and the generated inner exception specified.

InternalBufferOverflowException() InternalBufferOverflowException() InternalBufferOverflowException()

Initializes a new default instance of the InternalBufferOverflowException class.

public:
 InternalBufferOverflowException();
public InternalBufferOverflowException ();
Public Sub New ()

Remarks

These constructors are used by the component to signify an error. Only use them if extending the class or the .NET Framework. This exception indicates an internal buffer has overflowed and users should take appropriate steps in their code to ensure it recovers properly. The cause of the overflow is often too many changes in a short period of time, causing the internal notification buffer to overflow. To resolve this, use the FileSystemWatcher.NotifyFilter and FileSystemWatcher.IncludeSubdirectories properties to filter out unwanted change notifications. You can also increase the size of the internal buffer through the FileSystemWatcher.InternalBufferSize property. However, increasing the size of the buffer is expensive, so keep the buffer as small as possible.

See also

InternalBufferOverflowException(String) InternalBufferOverflowException(String) InternalBufferOverflowException(String) InternalBufferOverflowException(String)

Initializes a new instance of the InternalBufferOverflowException class with the error message to be displayed specified.

public:
 InternalBufferOverflowException(System::String ^ message);
public InternalBufferOverflowException (string message);
new System.IO.InternalBufferOverflowException : string -> System.IO.InternalBufferOverflowException
Public Sub New (message As String)

Parameters

message
String String String String

The message to be given for the exception.

Remarks

These constructors are used by the component to signify an error. Only use them if extending the class or the .NET Framework. This exception indicates an internal buffer has overflowed and users should take appropriate steps in their code to ensure it recovers properly. The cause of the overflow is often too many changes in a short period of time, causing the internal notification buffer to overflow. To resolve this, use the FileSystemWatcher.NotifyFilter and FileSystemWatcher.IncludeSubdirectories properties to filter out unwanted change notifications. You can also increase the size of the internal buffer through the FileSystemWatcher.InternalBufferSize property. However, increasing the size of the buffer is expensive, so keep the buffer as small as possible.

See also

InternalBufferOverflowException(SerializationInfo, StreamingContext) InternalBufferOverflowException(SerializationInfo, StreamingContext) InternalBufferOverflowException(SerializationInfo, StreamingContext) InternalBufferOverflowException(SerializationInfo, StreamingContext)

Initializes a new, empty instance of the InternalBufferOverflowException class that is serializable using the specified SerializationInfo and StreamingContext objects.

protected:
 InternalBufferOverflowException(System::Runtime::Serialization::SerializationInfo ^ info, System::Runtime::Serialization::StreamingContext context);
protected InternalBufferOverflowException (System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
new System.IO.InternalBufferOverflowException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> System.IO.InternalBufferOverflowException
Protected Sub New (info As SerializationInfo, context As StreamingContext)

Parameters

info
SerializationInfo SerializationInfo SerializationInfo SerializationInfo

The information required to serialize the T:System.IO.InternalBufferOverflowException object.

context
StreamingContext StreamingContext StreamingContext StreamingContext

The source and destination of the serialized stream associated with the T:System.IO.InternalBufferOverflowException object.

InternalBufferOverflowException(String, Exception) InternalBufferOverflowException(String, Exception) InternalBufferOverflowException(String, Exception) InternalBufferOverflowException(String, Exception)

Initializes a new instance of the InternalBufferOverflowException class with the message to be displayed and the generated inner exception specified.

public:
 InternalBufferOverflowException(System::String ^ message, Exception ^ inner);
public InternalBufferOverflowException (string message, Exception inner);
new System.IO.InternalBufferOverflowException : string * Exception -> System.IO.InternalBufferOverflowException
Public Sub New (message As String, inner As Exception)

Parameters

message
String String String String

The message to be given for the exception.

inner
Exception Exception Exception Exception

The inner exception.

Remarks

These constructors are used by the component to signify an error. Only use them if extending the class or the .NET Framework. This exception indicates an internal buffer has overflowed and users should take appropriate steps in their code to ensure it recovers properly. The cause of the overflow is often too many changes in a short period of time, causing the internal notification buffer to overflow. To resolve this, use the FileSystemWatcher.NotifyFilter and FileSystemWatcher.IncludeSubdirectories properties to filter out unwanted change notifications. You can also increase the size of the internal buffer through the FileSystemWatcher.InternalBufferSize property. However, increasing the size of the buffer is expensive, so keep the buffer as small as possible.

See also

Applies to