Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

ProcessModelSection.ClientConnectedCheck Property

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.

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

Supported in: 4, 3.5, 3.0, 2.0

Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows XP SP2 x64 Edition, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

Community Additions

ADD
Show:
© 2015 Microsoft