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")]
[TypeConverterAttribute(typeof(InfiniteTimeSpanConverter))]
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 = 
                    processModelSection.PingFrequency;

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



.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.
Show: