InternalBufferOverflowException 생성자
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
InternalBufferOverflowException 클래스의 새 인스턴스를 초기화합니다.
오버로드
| Name | Description |
|---|---|
| InternalBufferOverflowException() |
클래스의 새 기본 인스턴스를 초기화합니다 InternalBufferOverflowException . |
| InternalBufferOverflowException(String) |
지정한 오류 메시지를 사용하여 클래스의 InternalBufferOverflowException 새 인스턴스를 초기화합니다. |
| InternalBufferOverflowException(SerializationInfo, StreamingContext) |
사용되지 않음.
지정된 개체와 StreamingContext 개체를 사용하여 직렬화할 수 있는 클래스의 InternalBufferOverflowException 빈 새 인스턴스를 SerializationInfo 초기화합니다. |
| InternalBufferOverflowException(String, Exception) |
표시할 메시지와 생성된 내부 예외를 지정하여 클래스의 새 인스턴스 InternalBufferOverflowException 를 초기화합니다. |
InternalBufferOverflowException()
클래스의 새 기본 인스턴스를 초기화합니다 InternalBufferOverflowException .
public:
InternalBufferOverflowException();
public InternalBufferOverflowException();
Public Sub New ()
설명
이러한 생성자는 구성 요소에서 오류를 나타내는 데 사용됩니다. 클래스 또는 .NET Framework를 확장하는 경우에만 사용합니다. 이 예외는 내부 버퍼가 오버플로되었으며 사용자가 제대로 복구되도록 코드에서 적절한 단계를 수행해야 했음을 나타냅니다. 오버플로의 원인은 짧은 시간 동안 너무 많은 변경으로 인해 내부 알림 버퍼가 오버플로되는 경우가 많습니다. 이 문제를 해결하려면 해당 FileSystemWatcher.NotifyFilter 및 FileSystemWatcher.IncludeSubdirectories 속성을 사용하여 원치 않는 변경 알림을 필터링합니다. 속성을 통해 FileSystemWatcher.InternalBufferSize 내부 버퍼의 크기를 늘릴 수도 있습니다. 그러나 버퍼의 크기를 늘리면 비용이 많이 들므로 버퍼를 가능한 한 작게 유지합니다.
추가 정보
적용 대상
InternalBufferOverflowException(String)
지정한 오류 메시지를 사용하여 클래스의 InternalBufferOverflowException 새 인스턴스를 초기화합니다.
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)
매개 변수
- message
- String
예외에 대해 제공될 메시지입니다.
설명
이러한 생성자는 구성 요소에서 오류를 나타내는 데 사용됩니다. 클래스 또는 .NET Framework를 확장하는 경우에만 사용합니다. 이 예외는 내부 버퍼가 오버플로되었으며 사용자가 제대로 복구되도록 코드에서 적절한 단계를 수행해야 했음을 나타냅니다. 오버플로의 원인은 짧은 시간 동안 너무 많은 변경으로 인해 내부 알림 버퍼가 오버플로되는 경우가 많습니다. 이 문제를 해결하려면 해당 FileSystemWatcher.NotifyFilter 및 FileSystemWatcher.IncludeSubdirectories 속성을 사용하여 원치 않는 변경 알림을 필터링합니다. 속성을 통해 FileSystemWatcher.InternalBufferSize 내부 버퍼의 크기를 늘릴 수도 있습니다. 그러나 버퍼의 크기를 늘리면 비용이 많이 들므로 버퍼를 가능한 한 작게 유지합니다.
추가 정보
적용 대상
InternalBufferOverflowException(SerializationInfo, StreamingContext)
주의
This API supports obsolete formatter-based serialization. It should not be called or extended by application code.
지정된 개체와 StreamingContext 개체를 사용하여 직렬화할 수 있는 클래스의 InternalBufferOverflowException 빈 새 인스턴스를 SerializationInfo 초기화합니다.
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)
매개 변수
- info
- SerializationInfo
개체를 serialize하는 데 필요한 정보입니다 InternalBufferOverflowException .
- context
- StreamingContext
개체와 연결된 직렬화된 스트림의 원본 및 InternalBufferOverflowException 대상입니다.
- 특성
적용 대상
InternalBufferOverflowException(String, Exception)
표시할 메시지와 생성된 내부 예외를 지정하여 클래스의 새 인스턴스 InternalBufferOverflowException 를 초기화합니다.
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)
매개 변수
- message
- String
예외에 대해 제공될 메시지입니다.
- inner
- Exception
내부 예외입니다.
설명
이러한 생성자는 구성 요소에서 오류를 나타내는 데 사용됩니다. 클래스 또는 .NET Framework를 확장하는 경우에만 사용합니다. 이 예외는 내부 버퍼가 오버플로되었으며 사용자가 제대로 복구되도록 코드에서 적절한 단계를 수행해야 했음을 나타냅니다. 오버플로의 원인은 짧은 시간 동안 너무 많은 변경으로 인해 내부 알림 버퍼가 오버플로되는 경우가 많습니다. 이 문제를 해결하려면 해당 FileSystemWatcher.NotifyFilter 및 FileSystemWatcher.IncludeSubdirectories 속성을 사용하여 원치 않는 변경 알림을 필터링합니다. 속성을 통해 FileSystemWatcher.InternalBufferSize 내부 버퍼의 크기를 늘릴 수도 있습니다. 그러나 버퍼의 크기를 늘리면 비용이 많이 들므로 버퍼를 가능한 한 작게 유지합니다.