ProcessStartInfo.ErrorDialog Property

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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

Namespace:   System.Diagnostics
Assembly:  System (in System.dll)

member ErrorDialog : bool with get, set

Property Value

Type: System.Boolean

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

System_CAPS_noteNote

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

.NET Framework
Available since 1.1
Return to top
Show: