Share via


ApplicationPoolFailure.AutoShutdownExe Property

Definition

Gets or sets the path of an executable to run when the service shuts down an application pool for rapid-fail protection.

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

Property Value

The path of an executable.

Examples

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

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

Remarks

This property specifies an executable to run when the World Wide Web Publishing Service (WWW service) shuts down an application pool. Use the AutoShutdownParams property to set parameters for the executable.

Applies to