BufferModeSettings.UrgentFlushInterval Property


The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Gets or sets the minimum amount of time that can pass between buffer flushes.

Namespace:   System.Web.Configuration
Assembly:  System.Web (in System.Web.dll)

[ConfigurationPropertyAttribute("urgentFlushInterval", IsRequired = true, 
	DefaultValue = "00:00:00")]
public TimeSpan UrgentFlushInterval { get; set; }

Property Value

Type: System.TimeSpan

The minimum amount of time that can pass between buffer flushes.

This property must have a value greater than zero and less than or equal to the value of the RegularFlushInterval property. Invalid values may cause an exception to be thrown when the configuration section is saved.

The default value varies based on the provider. The BufferModeSettings objects in the BufferModes collection are referred to by name by the providers in the Providers collection.

The following code example shows how to use the MaxBufferSize property. This code example is part of a larger example provided for the HealthMonitoringSection class.

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

.NET Framework
Available since 2.0
Return to top