ProcessModelSection.PingTimeout Eigenschap

Definitie

Hiermee wordt een waarde opgehaald of ingesteld die het tijdsinterval aangeeft waarna een niet-responsief werkproces opnieuw wordt gestart.

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

Waarde van eigenschap

Het TimeSpan definiƫren van het tijdsinterval. De standaardwaarde is 5 seconden.

Kenmerken

Voorbeelden

In het volgende codevoorbeeld ziet u hoe u toegang hebt tot de PingTimeout eigenschap.


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

Opmerkingen

De ISAPI-extensies pingen het werkproces met het PingFrequency interval. Als het werkproces niet binnen het PingTimeout interval reageert, wordt het proces opnieuw gestart.

Van toepassing op