ApplicationPoolFailure.OrphanWorkerProcess Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets a value indicating whether to put a worker process in an orphan state when an application pool fails.
public:
property bool OrphanWorkerProcess { bool get(); void set(bool value); };
public bool OrphanWorkerProcess { get; set; }
member this.OrphanWorkerProcess : bool with get, set
Public Property OrphanWorkerProcess As Boolean
Property Value
true
if the worker process is orphaned when an application pool fails; false
if the worker process is not orphaned.
Examples
The following example displays the value of the OrphanWorkerProcess property. This code example is part of a larger example provided for the ApplicationPoolFailure class.
Console.WriteLine("OrphanWorkerProcess:\t{0}",
manager.ApplicationPoolDefaults.Failure.OrphanWorkerProcess);
Remarks
This property specifies whether to assign a worker process to an orphan state instead of terminating it when an application pool fails.