BufferModeSettings.UrgentFlushThreshold プロパティ

定義

フラッシュがトリガーされる前にバッファーに格納できるイベントの数を取得または設定します。

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

プロパティ値

フラッシュがトリガーされる前にバッファーに格納できるイベントの数。

属性

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

bufferModeSetting.UrgentFlushThreshold = 1;
bufferModeSetting.UrgentFlushThreshold = 1

注釈

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

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

適用対象

こちらもご覧ください