This documentation is archived and is not being maintained.

ProcessStartInfo.ErrorDialogParentHandle Property

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

[Visual Basic]
Public Property ErrorDialogParentHandle As IntPtr
public IntPtr ErrorDialogParentHandle {get; set;}
public: __property IntPtr get_ErrorDialogParentHandle();
public: __property void set_ErrorDialogParentHandle(IntPtr);
public function get ErrorDialogParentHandle() : IntPtr;
public function set ErrorDialogParentHandle(IntPtr);

Property Value

An IntPtr that identifies the handle of the error dialog that results from a process start failure.


If ErrorDialog is true, this specifies the parent window for the dialog that is shown. It is useful to specify a parent in order to keep the dialog in front of the application.


Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also

ProcessStartInfo Class | ProcessStartInfo Members | System.Diagnostics Namespace