Partilhar via


InternalBufferOverflowException Construtores

Definição

Inicializa uma nova instância da classe InternalBufferOverflowException.

Sobrecargas

Nome Description
InternalBufferOverflowException()

Inicializa uma nova instância padrão da InternalBufferOverflowException classe.

InternalBufferOverflowException(String)

Inicializa uma nova instância da InternalBufferOverflowException classe com a mensagem de erro a ser exibida especificada.

InternalBufferOverflowException(SerializationInfo, StreamingContext)
Obsoleto.

Inicializa uma nova instância vazia da InternalBufferOverflowException classe que é serializável usando os objetos especificadosSerializationInfo.StreamingContext

InternalBufferOverflowException(String, Exception)

Inicializa uma nova instância da InternalBufferOverflowException classe com a mensagem a ser exibida e a exceção interna gerada especificada.

InternalBufferOverflowException()

Origem:
InternalBufferOverflowException.cs
Origem:
InternalBufferOverflowException.cs
Origem:
InternalBufferOverflowException.cs
Origem:
InternalBufferOverflowException.cs
Origem:
InternalBufferOverflowException.cs

Inicializa uma nova instância padrão da InternalBufferOverflowException classe.

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

Comentários

Esses construtores são usados pelo componente para significar um erro. Use-os somente se estender a classe ou o .NET Framework. Essa exceção indica que um buffer interno transbordou e os usuários devem tomar as etapas apropriadas em seu código para garantir que ele se recupere corretamente. A causa do estouro geralmente é muitas alterações em um curto período de tempo, fazendo com que o buffer de notificação interno transborde. Para resolver isso, use as propriedades e FileSystemWatcher.IncludeSubdirectories as FileSystemWatcher.NotifyFilter propriedades para filtrar notificações de alteração indesejadas. Você também pode aumentar o tamanho do buffer interno por meio da FileSystemWatcher.InternalBufferSize propriedade. No entanto, aumentar o tamanho do buffer é caro, portanto, mantenha o buffer o menor possível.

Confira também

Aplica-se a

InternalBufferOverflowException(String)

Origem:
InternalBufferOverflowException.cs
Origem:
InternalBufferOverflowException.cs
Origem:
InternalBufferOverflowException.cs
Origem:
InternalBufferOverflowException.cs
Origem:
InternalBufferOverflowException.cs

Inicializa uma nova instância da InternalBufferOverflowException classe com a mensagem de erro a ser exibida especificada.

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)

Parâmetros

message
String

A mensagem a ser dada para a exceção.

Comentários

Esses construtores são usados pelo componente para significar um erro. Use-os somente se estender a classe ou o .NET Framework. Essa exceção indica que um buffer interno transbordou e os usuários devem tomar as etapas apropriadas em seu código para garantir que ele se recupere corretamente. A causa do estouro geralmente é muitas alterações em um curto período de tempo, fazendo com que o buffer de notificação interno transborde. Para resolver isso, use as propriedades e FileSystemWatcher.IncludeSubdirectories as FileSystemWatcher.NotifyFilter propriedades para filtrar notificações de alteração indesejadas. Você também pode aumentar o tamanho do buffer interno por meio da FileSystemWatcher.InternalBufferSize propriedade. No entanto, aumentar o tamanho do buffer é caro, portanto, mantenha o buffer o menor possível.

Confira também

Aplica-se a

InternalBufferOverflowException(SerializationInfo, StreamingContext)

Origem:
InternalBufferOverflowException.cs
Origem:
InternalBufferOverflowException.cs
Origem:
InternalBufferOverflowException.cs
Origem:
InternalBufferOverflowException.cs
Origem:
InternalBufferOverflowException.cs

Cuidado

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

Inicializa uma nova instância vazia da InternalBufferOverflowException classe que é serializável usando os objetos especificadosSerializationInfo.StreamingContext

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);
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}")>]
new System.IO.InternalBufferOverflowException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> System.IO.InternalBufferOverflowException
new System.IO.InternalBufferOverflowException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> System.IO.InternalBufferOverflowException
Protected Sub New (info As SerializationInfo, context As StreamingContext)

Parâmetros

info
SerializationInfo

As informações necessárias para serializar o InternalBufferOverflowException objeto.

context
StreamingContext

A origem e o destino do fluxo serializado associado ao InternalBufferOverflowException objeto.

Atributos

Aplica-se a

InternalBufferOverflowException(String, Exception)

Origem:
InternalBufferOverflowException.cs
Origem:
InternalBufferOverflowException.cs
Origem:
InternalBufferOverflowException.cs
Origem:
InternalBufferOverflowException.cs
Origem:
InternalBufferOverflowException.cs

Inicializa uma nova instância da InternalBufferOverflowException classe com a mensagem a ser exibida e a exceção interna gerada especificada.

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)

Parâmetros

message
String

A mensagem a ser dada para a exceção.

inner
Exception

A exceção interna.

Comentários

Esses construtores são usados pelo componente para significar um erro. Use-os somente se estender a classe ou o .NET Framework. Essa exceção indica que um buffer interno transbordou e os usuários devem tomar as etapas apropriadas em seu código para garantir que ele se recupere corretamente. A causa do estouro geralmente é muitas alterações em um curto período de tempo, fazendo com que o buffer de notificação interno transborde. Para resolver isso, use as propriedades e FileSystemWatcher.IncludeSubdirectories as FileSystemWatcher.NotifyFilter propriedades para filtrar notificações de alteração indesejadas. Você também pode aumentar o tamanho do buffer interno por meio da FileSystemWatcher.InternalBufferSize propriedade. No entanto, aumentar o tamanho do buffer é caro, portanto, mantenha o buffer o menor possível.

Confira também

Aplica-se a