Olvasás angol nyelven 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 ();

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

.NET 9 és más verziók
Termék Verziók
.NET Core 2.0, Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7, 8, 9
.NET Framework 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
.NET Standard 2.0, 2.1

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 (string? message);
public InternalBufferOverflowException (string message);

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

.NET 9 és más verziók
Termék Verziók
.NET Core 2.0, Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7, 8, 9
.NET Framework 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
.NET Standard 2.0, 2.1

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

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

.NET 9 és más verziók
Termék Verziók (Elavult)
.NET Core 2.0, Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7 (8, 9)
.NET Framework 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
.NET Standard 2.0, 2.1

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 (string? message, Exception? inner);
public InternalBufferOverflowException (string message, Exception inner);

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

.NET 9 és más verziók
Termék Verziók
.NET Core 2.0, Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7, 8, 9
.NET Framework 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
.NET Standard 2.0, 2.1