RecyclingLogEventOnRecycle Enumeration

IIS 7.0
 

Defines the reasons for application pool recycling that will cause IIS to log an event.

This enumeration has a FlagsAttribute attribute that allows a bitwise combination of its member values.

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

[FlagsAttribute]
public enum RecyclingLogEventOnRecycle

Member nameDescription
ConfigChange

Application pool configuration changes have been made.

IsapiUnhealthy

An ISAPI extension has not responded to a health-monitoring request.

Memory

A used or virtual memory limit that is specified in the ApplicationPoolPeriodicRestart.Memory property has been reached. A default value.

None

No reason is specified for the recycle.

OnDemand

An administrator has manually triggered a recycle.

PrivateMemory

Private memory has reached the amount specified in the ApplicationPoolPeriodicRestart.PrivateMemory property. A default value.

Requests

The number of requests specified in the ApplicationPoolPeriodicRestart.Requests property has been reached.

Schedule

A scheduled recycle specified in the ApplicationPoolPeriodicRestart.Schedule has occurred.

Time

The time specified in the ApplicationPoolPeriodicRestart.Time property has elapsed since the last recycle. A default value.

The ApplicationPoolRecycling.LogEventOnRecycle property uses the values of this enumeration to specify the logging behavior of a recycling application pool.

Return to top
Show: