Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

ProcessStartInfo.ErrorDialogParentHandle Property

Gets or sets the window handle to use when an error dialog box is shown for a process that cannot be started.

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

'Declaration
<BrowsableAttribute(False)> _
Public Property ErrorDialogParentHandle As IntPtr

Property Value

Type: System.IntPtr
A pointer to the handle of the error dialog box that results from a process start failure.

If ErrorDialog is true, the ErrorDialogParentHandle property specifies the parent window for the dialog box that is shown. It is useful to specify a parent to keep the dialog box in front of the application.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0, 1.1

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
Show:
© 2015 Microsoft