ApplicationPoolFailure.AutoShutdownExe 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 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.