편집

다음을 통해 공유


ProcessModelSection.ResponseRestartDeadlockInterval Property

Definition

No longer used.

public:
 property TimeSpan ResponseRestartDeadlockInterval { TimeSpan get(); void set(TimeSpan value); };
[System.ComponentModel.TypeConverter(typeof(System.Configuration.InfiniteTimeSpanConverter))]
[System.Configuration.ConfigurationProperty("responseRestartDeadlockInterval", DefaultValue="00:03:00")]
public TimeSpan ResponseRestartDeadlockInterval { get; set; }
[<System.ComponentModel.TypeConverter(typeof(System.Configuration.InfiniteTimeSpanConverter))>]
[<System.Configuration.ConfigurationProperty("responseRestartDeadlockInterval", DefaultValue="00:03:00")>]
member this.ResponseRestartDeadlockInterval : TimeSpan with get, set
Public Property ResponseRestartDeadlockInterval As TimeSpan

Property Value

Not applicable.

Attributes

Examples

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


// Get the current ResponseRestartDeadlockInterval property
// value.
TimeSpan respRestartDeadlock =
    processModelSection.ResponseRestartDeadlockInterval;

// Set the ResponseRestartDeadlockInterval property to
// TimeSpan.Parse("04:00:00").
processModelSection.ResponseRestartDeadlockInterval = 
    TimeSpan.Parse("04:00:00");
' Get the current ResponseRestartDeadlockInterval property
' value.
   Dim respRestartDeadlock As TimeSpan = _
   processModelSection.ResponseRestartDeadlockInterval

' Set the ResponseRestartDeadlockInterval property to
' TimeSpan.Parse("04:00:00").
   processModelSection.ResponseRestartDeadlockInterval = _
   TimeSpan.Parse("04:00:00")

Remarks

This property is no longer used by ASP.NET and is provided for backward compatibility only. It will not cause a configuration error if it is already present in a configuration file. All recycling in the event of a deadlock condition is now controlled by the ResponseDeadlockInterval property.

Applies to