다음을 통해 공유


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

속성 값

Int32

플러시당 최대 이벤트 수입니다.

특성

예제

다음 코드 예제에서는 MaxBufferSize 속성을 사용하는 방법을 보여 줍니다. 이 코드 예제는에 대해 제공 된 큰 예제의 일부는 HealthMonitoringSection 클래스입니다.

bufferModeSetting.MaxFlushSize = 24;
bufferModeSetting.MaxFlushSize = 24

설명

이 속성이 0 보다 큰 값이 있어야 합니다. 잘못 된 값에는 구성 섹션을 저장할 때 throw 될 예외가 발생할 수 있습니다.

기본 값 공급자에 따라 다릅니다. 합니다 BufferModeSettings 개체를 BufferModes 컬렉션의 공급자 이름에서 참조 하는 Providers 컬렉션입니다.

적용 대상

추가 정보