Share via


ApplicationPoolFailure.OrphanActionParams Property

Definition

Gets or sets command-line parameters for the executable named by the OrphanActionExe property.

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

Property Value

Command-line parameters for the executable specified by the OrphanActionExe property.

Examples

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

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

Remarks

To specify the process ID of the orphaned process, use "%1%".

Applies to