Export (0) Print
Expand All

AutoShutdownExe Property

IIS 7.0

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

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

public string AutoShutdownExe { 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) shuts down an application pool. Use the AutoShutdownParams property to set parameters for the executable.

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


Community Additions

ADD
Show:
© 2015 Microsoft