ProcessModelSection.ClientConnectedCheck Property

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Gets or sets a value indicating how long a request is left in the queue.

Namespace:   System.Web.Configuration
Assembly:  System.Web (in System.Web.dll)

[ConfigurationPropertyAttribute("clientConnectedCheck", DefaultValue = "00:00:05")]
[TypeConverterAttribute(typeof(InfiniteTimeSpanConverter))]
public TimeSpan ClientConnectedCheck { get; set; }

Property Value

Type: System.TimeSpan

A TimeSpan value indicating the queuing time. The default value is 5 seconds.

This property specifies how long a request is queued before ASP.NET performs a client connected check.

System_CAPS_noteNote

If the interval expires while the request is still queued, a client connected check is done before passing the request over to the ASP.NET worker process for handling.

The following code example shows how to access and modify the ClientConnectedCheck property.


// Get the current ClientConnectedCheck property value.
TimeSpan clConnectCheck = 
 processModelSection.ClientConnectedCheck;

// Set the ClientConnectedCheck property to
// TimeSpan.Parse("00:15:00").
processModelSection.ClientConnectedCheck = 
    TimeSpan.Parse("00:15:00");

.NET Framework
Available since 2.0
Return to top
Show: