次の方法で共有


BufferModeSettings.MaxBufferThreads プロパティ

定義

同時にアクティブにできるバッファー フラッシュ スレッド数の上限を設定または取得します。

public:
 property int MaxBufferThreads { int get(); void set(int value); };
[System.ComponentModel.TypeConverter(typeof(System.Configuration.InfiniteIntConverter))]
[System.Configuration.ConfigurationProperty("maxBufferThreads", DefaultValue=1)]
[System.Configuration.IntegerValidator(MinValue=1)]
public int MaxBufferThreads { get; set; }
[<System.ComponentModel.TypeConverter(typeof(System.Configuration.InfiniteIntConverter))>]
[<System.Configuration.ConfigurationProperty("maxBufferThreads", DefaultValue=1)>]
[<System.Configuration.IntegerValidator(MinValue=1)>]
member this.MaxBufferThreads : int with get, set
Public Property MaxBufferThreads As Integer

プロパティ値

同時にアクティブにできるフラッシュ スレッド数の上限。 既定値は 1 です。

属性

次のコード例は、MaxBufferSize プロパティの使用方法を示しています。 このコード例は、HealthMonitoringSection クラスのために提供されている大規模な例の一部です。

bufferModeSetting.MaxBufferThreads = 1;
bufferModeSetting.MaxBufferThreads = 1

注釈

このプロパティには、0 より大きい値が必要です。 無効な値を指定すると、構成セクションの保存時に例外がスローされる可能性があります。

適用対象

こちらもご覧ください