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(GetType(InfiniteTimeSpanConverter))>
<TimeSpanValidatorAttribute(MinValueString := "00:00:00", MaxValueString := "10675199.02:48:05.4775807")>
Public Property ResponseDeadlockInterval As TimeSpan

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.
   Dim respDeadlock As TimeSpan = _
   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: