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)

property IntPtr ErrorDialogParentHandle {
	IntPtr get();
	void set(IntPtr value);

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