ProcessModelSection.PingTimeout 속성
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
응답하지 않는 작업자 프로세스를 다시 시작하는 시간 간격을 나타내는 값을 가져오거나 설정합니다.
public:
property TimeSpan PingTimeout { TimeSpan get(); void set(TimeSpan value); };
[System.ComponentModel.TypeConverter(typeof(System.Configuration.InfiniteTimeSpanConverter))]
[System.Configuration.ConfigurationProperty("pingTimeout", DefaultValue="10675199.02:48:05.4775807")]
public TimeSpan PingTimeout { get; set; }
[<System.ComponentModel.TypeConverter(typeof(System.Configuration.InfiniteTimeSpanConverter))>]
[<System.Configuration.ConfigurationProperty("pingTimeout", DefaultValue="10675199.02:48:05.4775807")>]
member this.PingTimeout : TimeSpan with get, set
Public Property PingTimeout As TimeSpan
속성 값
시간 간격을 정의하는 TimeSpan입니다. 기본값은 5초입니다.
- 특성
예제
다음 코드 예제에서는 PingTimeout 속성에 액세스하는 방법을 보여 줍니다.
// Get the current PingTimeout property value.
TimeSpan pingTimeout =
processModelSection.PingTimeout;
// Set the PingTimeout property to TimeSpan.Parse("00:00:30").
processModelSection.PingTimeout =
TimeSpan.Parse("00:00:30");
' Get the current PingTimeout property value.
Dim pingTimeout As TimeSpan = _
processModelSection.PingTimeout
' Set the PingTimeout property to TimeSpan.Parse("00:00:30").
processModelSection.PingTimeout = _
TimeSpan.Parse("00:00:30")
설명
ISAPI 확장에서 작업자 프로세스 ping을 PingFrequency 간격입니다. 작업자 프로세스 내에서 응답 하지 않는 경우는 PingTimeout 간격, 프로세스를 다시 시작 합니다.