다음을 통해 공유


BufferModeSettings.UrgentFlushInterval 속성

정의

버퍼 플러시 간에 전달할 수 있는 최소 시간을 가져오거나 설정합니다.

public:
 property TimeSpan UrgentFlushInterval { TimeSpan get(); void set(TimeSpan value); };
[System.ComponentModel.TypeConverter(typeof(System.Configuration.InfiniteTimeSpanConverter))]
[System.Configuration.ConfigurationProperty("urgentFlushInterval", DefaultValue="00:00:00", IsRequired=true)]
public TimeSpan UrgentFlushInterval { get; set; }
[<System.ComponentModel.TypeConverter(typeof(System.Configuration.InfiniteTimeSpanConverter))>]
[<System.Configuration.ConfigurationProperty("urgentFlushInterval", DefaultValue="00:00:00", IsRequired=true)>]
member this.UrgentFlushInterval : TimeSpan with get, set
Public Property UrgentFlushInterval As TimeSpan

속성 값

버퍼 플러시 간에 전달할 수 있는 최소 시간입니다.

특성

예제

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

bufferModeSetting.UrgentFlushInterval = TimeSpan.Parse("00:01:00");
bufferModeSetting.UrgentFlushInterval = TimeSpan.Parse("00:01:00")

설명

이 속성의 값은 0보다 크고 속성 값 RegularFlushInterval 보다 작거나 같아야 합니다. 잘못된 값으로 인해 구성 섹션이 저장될 때 예외가 throw될 수 있습니다.

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

적용 대상

추가 정보