This documentation is archived and is not being maintained.

ProcessModelSection.PingTimeout Property

Gets or sets a value indicating the time interval after which a non-responsive worker process is restarted.

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

[TypeConverterAttribute(typeof(InfiniteTimeSpanConverter))] 
public TimeSpan PingTimeout { get; set; }
/** @property */
public TimeSpan get_PingTimeout ()

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

public function get PingTimeout () : TimeSpan

public function set PingTimeout (value : TimeSpan)

Not applicable.

Property Value

The TimeSpan defining the time interval. The default is 5 seconds.

The ISAPI extensions ping the worker process at the PingFrequency interval. If the worker process does not respond within the PingTimeout interval, the process is restarted.

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


// Get the current PingTimeout property value.
TimeSpan pingTimeout = 
    processModelSection.PingTimeout;

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


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