편집

다음을 통해 공유


ProcessModelSection.ClientConnectedCheck Property

Definition

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

public:
 property TimeSpan ClientConnectedCheck { TimeSpan get(); void set(TimeSpan value); };
[System.ComponentModel.TypeConverter(typeof(System.Configuration.InfiniteTimeSpanConverter))]
[System.Configuration.ConfigurationProperty("clientConnectedCheck", DefaultValue="00:00:05")]
public TimeSpan ClientConnectedCheck { get; set; }
[<System.ComponentModel.TypeConverter(typeof(System.Configuration.InfiniteTimeSpanConverter))>]
[<System.Configuration.ConfigurationProperty("clientConnectedCheck", DefaultValue="00:00:05")>]
member this.ClientConnectedCheck : TimeSpan with get, set
Public Property ClientConnectedCheck As TimeSpan

Property Value

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

Attributes

Examples

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");
' Get the current ClientConnectedCheck property value.
   Dim clConnectCheck As TimeSpan = _
   processModelSection.ClientConnectedCheck

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

Remarks

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

Note

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.

Applies to