BufferModeSettings.MaxFlushSize プロパティ

定義

フラッシュあたりのイベントの最大数を取得または設定します。

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

プロパティ値

フラッシュあたりのイベントの最大数。

属性

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

bufferModeSetting.MaxFlushSize = 24;
bufferModeSetting.MaxFlushSize = 24

注釈

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

既定値はプロバイダーによって異なります。 BufferModes コレクション内のBufferModeSettings オブジェクトは、Providers コレクション内のプロバイダーによって名前によって参照されます。

適用対象

こちらもご覧ください