ApplicationPoolFailure.OrphanWorkerProcess Property

IIS 7.0

Gets or sets a value indicating whether to put a worker process in an orphan state when an application pool fails.

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

public bool OrphanWorkerProcess { get; set; }

Property Value

Type: System.Boolean

true if the worker process is orphaned when an application pool fails; false if the worker process is not orphaned.

This property specifies whether to assign a worker process to an orphan state instead of terminating it when an application pool fails.

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

Return to top