Export (0) Print
Expand All

OrphanActionExe Property

IIS 7.0

Gets or sets the path of an executable to run when the service orphans a worker process.

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

public string OrphanActionExe { get; set; }

Property Value

Type: System..::..String
The path of an executable.

This property specifies an executable to run when the World Wide Web Publishing Service (WWW service) orphans a worker process (if the OrphanWorkerProcess property is set to true).

Use the OrphanActionParams property to set parameters for the executable.

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

Console.WriteLine("OrphanActionExe:\t{0}",
    manager.ApplicationPoolDefaults.Failure.OrphanActionExe);


Community Additions

ADD
Show:
© 2014 Microsoft