ApplicationPoolFailure.OrphanActionExe Property

Definition

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

public:
 property System::String ^ OrphanActionExe { System::String ^ get(); void set(System::String ^ value); };
public string OrphanActionExe { get; set; }
member this.OrphanActionExe : string with get, set
Public Property OrphanActionExe As String

Property Value

The path of an executable.

Examples

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);

Remarks

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.

Applies to