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.

 property IntPtr ErrorDialogParentHandle { IntPtr get(); void set(IntPtr value); };
public IntPtr ErrorDialogParentHandle { get; set; }
member this.ErrorDialogParentHandle : nativeint with get, set
Public Property ErrorDialogParentHandle As IntPtr

Property Value

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.

Applies to