다음을 통해 공유


ProcessModelSection.PingFrequency 속성

정의

ISAPI 확장이 작업자 프로세스를 ping하여 실행 여부를 확인하는 시간 간격을 나타내는 값을 가져오거나 설정합니다.

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

속성 값

TimeSpan

시간 간격을 정의하는 TimeSpan입니다. 기본값은 30초입니다.

특성

예제

다음 코드 예제에서는 PingFrequency 속성에 액세스하는 방법을 보여 줍니다.


// Get the current PingFrequency property value.
TimeSpan pingFreq = 
    processModelSection.PingFrequency;

// Set the PingFrequency property to
// TimeSpan.Parse("00:01:00").
processModelSection.PingFrequency = 
    TimeSpan.Parse("00:01:00");
' Get the current PingFrequency property value.
   Dim pingFreq As TimeSpan = _
   processModelSection.PingFrequency

' Set the PingFrequency property to
' TimeSpan.Parse("00:01:00").
   processModelSection.PingFrequency = _
   TimeSpan.Parse("00:01:00")

설명

작업자 프로세스가 다시 시작 (반송 된) 한 후 실행 하지 않는 경우는 PingFrequency 간격이 만료 되었습니다.

적용 대상