다음을 통해 공유


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보다 커야 합니다. 잘못된 값으로 인해 구성 섹션이 저장될 때 예외가 throw될 수 있습니다.

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

적용 대상

추가 정보