ProcessStartInfo.ErrorDialog Property


Gets or sets a value indicating whether an error dialog box is displayed to the user if the process cannot be started.

 property bool ErrorDialog { bool get(); void set(bool value); };
public bool ErrorDialog { get; set; }
member this.ErrorDialog : bool with get, set
Public Property ErrorDialog As Boolean

Property Value

true if an error dialog box should be displayed on the screen if the process cannot be started; otherwise, false. The default is false.



UseShellExecute must be true if you want to set ErrorDialog to true.

Applies to