다음을 통해 공유


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 보다 작거나 같아야 합니다. 잘못된 값으로 인해 구성 섹션이 저장될 때 예외가 발생할 수 있습니다.

기본값은 공급자에 따라 다릅니다. 컬렉션의 개체는 BufferModeSettings 컬렉션의 공급자에 의해 이름으로 참조됩니다Providers.BufferModes

적용 대상

추가 정보