다음을 통해 공유


BufferModeSettings.MaxBufferThreads 속성

정의

한 번에 활성화할 수 있는 스레드의 최대 플러시 수를 가져오거나 설정합니다.

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

속성 값

Int32

한 번에 활성화할 수 있는 스레드의 최대 플러시 수입니다. 기본값은 1입니다.

특성

예제

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

bufferModeSetting.MaxBufferThreads = 1;
bufferModeSetting.MaxBufferThreads = 1

설명

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

적용 대상

추가 정보