次の方法で共有


ProcessModelSection.ResponseDeadlockInterval プロパティ

定義

ワーカー プロセスが応答するまでの期間を示す値を取得または設定します。

public:
 property TimeSpan ResponseDeadlockInterval { TimeSpan get(); void set(TimeSpan value); };
[System.ComponentModel.TypeConverter(typeof(System.Configuration.InfiniteTimeSpanConverter))]
[System.Configuration.ConfigurationProperty("responseDeadlockInterval", DefaultValue="00:03:00")]
[System.Configuration.TimeSpanValidator(MaxValueString="10675199.02:48:05.4775807", MinValueString="00:00:00")]
public TimeSpan ResponseDeadlockInterval { get; set; }
[<System.ComponentModel.TypeConverter(typeof(System.Configuration.InfiniteTimeSpanConverter))>]
[<System.Configuration.ConfigurationProperty("responseDeadlockInterval", DefaultValue="00:03:00")>]
[<System.Configuration.TimeSpanValidator(MaxValueString="10675199.02:48:05.4775807", MinValueString="00:00:00")>]
member this.ResponseDeadlockInterval : TimeSpan with get, set
Public Property ResponseDeadlockInterval As TimeSpan

プロパティ値

TimeSpan

期間を定義する TimeSpan。 既定値は 3 分です。

属性

次のコード例は、ResponseDeadlockInterval プロパティの使用方法を示しています。


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

注釈

キューに入れられている要求がある場合、およびによって定義 ResponseDeadlockIntervalされた時間間隔の間に応答がない場合、プロセスは再開されます。

適用対象