This documentation is archived and is not being maintained.

ProcessModelSection.ResponseDeadlockInterval Property

Gets or sets a value indicating the time interval for the worker process to respond.

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

[TypeConverterAttribute(typeof(InfiniteTimeSpanConverter))]
[TimeSpanValidatorAttribute(MinValueString = "00:00:00", MaxValueString = "10675199.02:48:05.4775807")]
[ConfigurationPropertyAttribute("responseDeadlockInterval", DefaultValue = "00:03:00")]
public TimeSpan ResponseDeadlockInterval { get; set; }

Property Value

Type: System.TimeSpan
The TimeSpan defining the interval. The default is 3 minutes.

The process is restarted if there are queued requests and if there has not been a response during the time interval that is defined by ResponseDeadlockInterval.

The following code example shows how to use the ResponseDeadlockInterval property.



                // Get the current ResponseDeadlockInterval property value.
                TimeSpan respDeadlock  = 
                    processModelSection.ResponseDeadlockInterval;

                // Set the ResponseDeadlockInterval property to
                // TimeSpan.Parse("00:05:00").
                processModelSection.ResponseDeadlockInterval = 
                    TimeSpan.Parse("00:05: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: