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 */
public IntPtr get_ErrorDialogParentHandle ()

/** @property */
public void set_ErrorDialogParentHandle (IntPtr value)

public function get ErrorDialogParentHandle () : IntPtr

public function set ErrorDialogParentHandle (value : IntPtr)

Not applicable.

Property Value

An IntPtr that identifies 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.

Windows 98, Windows Server 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0, 1.1, 1.0

Community Additions