ApplicationPoolFailure.LoadBalancerCapabilities Property

IIS 7.0
 

Gets or sets the response behavior of a service when it is unavailable.

Namespace:   Microsoft.Web.Administration
Assembly:  Microsoft.Web.Administration (in Microsoft.Web.Administration.dll)

public LoadBalancerCapabilities LoadBalancerCapabilities { get; set; }

This property specifies behavior when a worker process cannot be started (for example, when the request queue is full or an application pool is in rapid-fail protection).

A value of TcpLevel terminates the connection. The default value of HttpLevel sends error code 503 (Service Unavailable).

The following example displays the value of the LoadBalancerCapabilities property. This code example is part of a larger example provided for the ApplicationPoolFailure class.

Return to top
Show: