다음을 통해 공유


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 시간 간격을 정의하는 것입니다. 기본값은 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 실행되고 있지 않으면 작업자 프로세스가 다시 시작됩니다(반송됨).

적용 대상