Export (0) Print
Expand All

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)

[TimeSpanValidatorAttribute(MinValueString = "00:00:00", MaxValueString = "10675199.02:48:05.4775807")]
[TypeConverterAttribute(typeof(InfiniteTimeSpanConverter))]
[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");

Windows 7, Windows Vista, Windows XP SP2, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP Starter Edition, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003, Windows Server 2000 SP4, Windows Millennium Edition, Windows 98

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

.NET Framework

Supported in: 3.5, 3.0, 2.0

Community Additions

ADD
Show:
© 2014 Microsoft