Szerkesztés

Megosztás a következőn keresztül:


InternalBufferOverflowException Constructors

Definition

Initializes a new instance of the InternalBufferOverflowException class.

Overloads

InternalBufferOverflowException()

Initializes a new default instance of the InternalBufferOverflowException class.

InternalBufferOverflowException(String)

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

InternalBufferOverflowException(SerializationInfo, StreamingContext)
Obsolete.

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

InternalBufferOverflowException(String, Exception)

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

InternalBufferOverflowException()

Source:
InternalBufferOverflowException.cs
Source:
InternalBufferOverflowException.cs
Source:
InternalBufferOverflowException.cs

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

Applies to

InternalBufferOverflowException(String)

Source:
InternalBufferOverflowException.cs
Source:
InternalBufferOverflowException.cs
Source:
InternalBufferOverflowException.cs

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);
public InternalBufferOverflowException (string message);
new System.IO.InternalBufferOverflowException : string -> System.IO.InternalBufferOverflowException
Public Sub New (message As String)

Parameters

message
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

Applies to

InternalBufferOverflowException(SerializationInfo, StreamingContext)

Source:
InternalBufferOverflowException.cs
Source:
InternalBufferOverflowException.cs
Source:
InternalBufferOverflowException.cs

Caution

This API supports obsolete formatter-based serialization. It should not be called or extended by application code.

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);
[System.Obsolete("This API supports obsolete formatter-based serialization. It should not be called or extended by application code.", DiagnosticId="SYSLIB0051", UrlFormat="https://aka.ms/dotnet-warnings/{0}")]
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
[<System.Obsolete("This API supports obsolete formatter-based serialization. It should not be called or extended by application code.", DiagnosticId="SYSLIB0051", UrlFormat="https://aka.ms/dotnet-warnings/{0}")>]
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

The information required to serialize the InternalBufferOverflowException object.

context
StreamingContext

The source and destination of the serialized stream associated with the InternalBufferOverflowException object.

Attributes

Applies to

InternalBufferOverflowException(String, Exception)

Source:
InternalBufferOverflowException.cs
Source:
InternalBufferOverflowException.cs
Source:
InternalBufferOverflowException.cs

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

The message to be given for the exception.

inner
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