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)

public TimeSpan PingFrequency { get; set; }
/** @property */
public TimeSpan get_PingFrequency ()

/** @property */
public void set_PingFrequency (TimeSpan value)

public function get PingFrequency () : TimeSpan

public function set PingFrequency (value : TimeSpan)

Not applicable.

Property Value

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 = 

Windows 98, Windows Server 2000 SP4, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0