다음을 통해 공유


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 간격 정의입니다. 기본값은 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됩니다.

적용 대상