ProcessStartInfo.ErrorDialogParentHandle Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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); };
public IntPtr ErrorDialogParentHandle { get; set; }
[System.ComponentModel.Browsable(false)]
public IntPtr ErrorDialogParentHandle { get; set; }
member this.ErrorDialogParentHandle : nativeint with get, set
[<System.ComponentModel.Browsable(false)>]
member this.ErrorDialogParentHandle : nativeint with get, set
Public Property ErrorDialogParentHandle As IntPtr
Property Value
nativeint
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.