共用方式為


ProcessModelSection.ResponseRestartDeadlockInterval 屬性

定義

不再使用。

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

屬性值

不適用。

屬性

範例

以下程式碼範例說明如何存取該 ResponseRestartDeadlockInterval 物業。


// 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")

備註

此特性現已不再被 ASP.NET 使用,僅提供向下相容性。 如果設定檔中已有設定錯誤,則不會造成錯誤。 所有在陷入僵局狀態時的回收,現由物業控制 ResponseDeadlockInterval

適用於