次の方法で共有


InternalBufferOverflowException コンストラクター

定義

InternalBufferOverflowException クラスの新しいインスタンスを初期化します。

オーバーロード

名前 説明
InternalBufferOverflowException()

InternalBufferOverflowException クラスの新しい既定のインスタンスを初期化します。

InternalBufferOverflowException(String)

表示するエラー メッセージを指定して、 InternalBufferOverflowException クラスの新しいインスタンスを初期化します。

InternalBufferOverflowException(SerializationInfo, StreamingContext)
古い.

指定したSerializationInfoおよびStreamingContext オブジェクトを使用してシリアル化可能なInternalBufferOverflowException クラスの新しい空のインスタンスを初期化します。

InternalBufferOverflowException(String, Exception)

表示するメッセージと生成された内部例外を指定して、 InternalBufferOverflowException クラスの新しいインスタンスを初期化します。

InternalBufferOverflowException()

ソース:
InternalBufferOverflowException.cs
ソース:
InternalBufferOverflowException.cs
ソース:
InternalBufferOverflowException.cs
ソース:
InternalBufferOverflowException.cs
ソース:
InternalBufferOverflowException.cs

InternalBufferOverflowException クラスの新しい既定のインスタンスを初期化します。

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

注釈

これらのコンストラクターは、エラーを示すためにコンポーネントによって使用されます。 クラスまたは .NET Framework を拡張する場合にのみ使用します。 この例外は、内部バッファーがオーバーフローしたことを示し、ユーザーはコード内で適切な手順を実行して、適切に回復するようにする必要があります。 オーバーフローの原因は、多くの場合、短時間で変更が多すぎて、内部通知バッファーがオーバーフローする原因となります。 これを解決するには、 FileSystemWatcher.NotifyFilter プロパティと FileSystemWatcher.IncludeSubdirectories プロパティを使用して、不要な変更通知を除外します。 FileSystemWatcher.InternalBufferSize プロパティを使用して、内部バッファーのサイズを大きくすることもできます。 ただし、バッファーのサイズを大きくするとコストがかかるため、バッファーはできるだけ小さくしてください。

こちらもご覧ください

適用対象

InternalBufferOverflowException(String)

ソース:
InternalBufferOverflowException.cs
ソース:
InternalBufferOverflowException.cs
ソース:
InternalBufferOverflowException.cs
ソース:
InternalBufferOverflowException.cs
ソース:
InternalBufferOverflowException.cs

表示するエラー メッセージを指定して、 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)

ソース:
InternalBufferOverflowException.cs
ソース:
InternalBufferOverflowException.cs
ソース:
InternalBufferOverflowException.cs
ソース:
InternalBufferOverflowException.cs
ソース:
InternalBufferOverflowException.cs

注意事項

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

指定したSerializationInfoおよびStreamingContext オブジェクトを使用してシリアル化可能なInternalBufferOverflowException クラスの新しい空のインスタンスを初期化します。

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

InternalBufferOverflowException オブジェクトをシリアル化するために必要な情報。

context
StreamingContext

InternalBufferOverflowException オブジェクトに関連付けられたシリアル化ストリームのソースと宛先。

属性

適用対象

InternalBufferOverflowException(String, Exception)

ソース:
InternalBufferOverflowException.cs
ソース:
InternalBufferOverflowException.cs
ソース:
InternalBufferOverflowException.cs
ソース:
InternalBufferOverflowException.cs
ソース:
InternalBufferOverflowException.cs

表示するメッセージと生成された内部例外を指定して、 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 プロパティを使用して、内部バッファーのサイズを大きくすることもできます。 ただし、バッファーのサイズを大きくするとコストがかかるため、バッファーはできるだけ小さくしてください。

こちらもご覧ください

適用対象