ErrorDialogParentHandle Property

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)

public IntPtr ErrorDialogParentHandle { get; set; }

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
Available since 1.1
Return to top
© 2015 Microsoft