ProcessStartInfo.ErrorDialogParentHandle Property

Definition

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

public:
 property IntPtr ErrorDialogParentHandle { IntPtr get(); void set(IntPtr value); };
[System.ComponentModel.Browsable(false)]
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.

Attributes

Remarks

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