HealthMonitoringSection.HeartbeatInterval Property

 

Gets or sets the interval used by the application domain when it raises the WebHeartbeatEvent event.

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

[<ConfigurationPropertyAttribute("heartbeatInterval", DefaultValue = "00:00:00")>]
[<TypeConverterAttribute(typeof(TimeSpanSecondsConverter))>]
[<TimeSpanValidatorAttribute(MinValueString = "00:00:00", MaxValueString = "24.20:31:23")>]
member HeartbeatInterval : TimeSpan with get, set

Property Value

Type: System.TimeSpan

The interval used by the application domain when it raises the WebHeartbeatEvent event.

If the TimeSpan value is zero ticks, no WebHeartbeatEvent event is raised.

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

No code example is currently available or this language may not be supported.

.NET Framework
Available since 2.0
Return to top
Show: