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)

[ConfigurationPropertyAttribute("responseDeadlockInterval", DefaultValue = "00:03:00")]
[TypeConverterAttribute(typeof(InfiniteTimeSpanConverter))]
[TimeSpanValidatorAttribute(MinValueString = "00:00:00", MaxValueString = "10675199.02:48:05.4775807")]
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
Available since 2.0
Return to top
Show: