HeartbeatInterval Property
Collapse the table of content
Expand the table of content

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)

public:
[ConfigurationPropertyAttribute("heartbeatInterval", DefaultValue = "00:00:00")]
[TypeConverterAttribute((TimeSpanSecondsConverter^::typeid))]
[TimeSpanValidatorAttribute(MinValueString = "00:00:00", MaxValueString = "24.20:31:23")]
property TimeSpan HeartbeatInterval {
	TimeSpan get();
	void set(TimeSpan value);
}

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:
© 2016 Microsoft