次の方法で共有


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のプロバイダーによって名前によって参照されます。

適用対象

こちらもご覧ください