AutoShutdownAppPoolParams Property

MSBuild

The AutoShutdownAppPoolParams property specifies any command-line parameters for the executable that is specified in the AutoShutdownAppPoolExe property. You can use these two properties in the following way to send e-mail, for example, when the World Wide Web Publishing Service (WWW service) shuts down an application pool for rapid fail protection: AutoShutdownAppPoolExe = "C:\LogAndSendMail.bat" AutoShutdownAppPoolParams = "-AppPoolName %1%" where %1% represents the application pool name.


Namespace: MSBuild.Community.Tasks.IIS
Assembly: MSBuild.Community.Tasks (in MSBuild.Community.Tasks.dll)

Syntax

Visual Basic (Declaration)
Public Property AutoShutdownAppPoolParams As String
C#
public string AutoShutdownAppPoolParams { get; set; }
C++
public property string AutoShutdownAppPoolParams sealed  {
    String get();
    void set(String value);
}
J#
/** property */
public string get_AutoShutdownAppPoolParams();

/** property */
public void set_AutoShutdownAppPoolParams(string value);
JScript
public function get AutoShutdownAppPoolParams() : String

public function set AutoShutdownAppPoolParams(value : String);

Property Value

Value indicating the parameters for the application pool auto shutdown executable.

See Also

Syntax based on .NET Framework version 2.0.
Documentation version 1.0.0.0.