This documentation is archived and is not being maintained.

ProcessModelSection.PingFrequency Property

Gets or sets a value indicating the time interval at which the ISAPI extension pings the worker process to determine whether it is running.

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

[ConfigurationPropertyAttribute("pingFrequency", DefaultValue = "10675199.02:48:05.4775807")]
public TimeSpan PingFrequency { get; set; }

Property Value

Type: System.TimeSpan
The TimeSpan defining the time interval. The default is 30 seconds.

The worker process is restarted (bounced) if it is not running after the PingFrequency interval has expired.

The following code example shows how to access the PingFrequency property.

                // Get the current PingFrequency property value.
                TimeSpan pingFreq = 

                // Set the PingFrequency property to
                // TimeSpan.Parse("00:01:00").
                processModelSection.PingFrequency = 

.NET Framework

Supported in: 4, 3.5, 3.0, 2.0

Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows XP SP2 x64 Edition, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.