ProcessModelSection.ResponseRestartDeadlockInterval Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈