Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

ProcessStartInfo.ErrorDialog Property

Definition

Namespace:
System.Diagnostics
Assemblies:
netstandard.dll, System.Diagnostics.Process.dll
Assembly:
System.Diagnostics.Process.dll
Assembly:
System.dll
Assembly:
netstandard.dll
Source:
ProcessStartInfo.cs
Source:
ProcessStartInfo.cs
Source:
ProcessStartInfo.cs
Source:
ProcessStartInfo.cs
Source:
ProcessStartInfo.cs

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 a value indicating whether an error dialog box is displayed to the user if the process cannot be started.

public:
 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.

Remarks

Note

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

Applies to


Feedback

Was this page helpful?