Export (0) Print
Expand All

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
[C#]
public IntPtr ErrorDialogParentHandle {get; set;}
[C++]
public: __property IntPtr get_ErrorDialogParentHandle();
public: __property void set_ErrorDialogParentHandle(IntPtr);
[JScript]
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.

Remarks

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.

Requirements

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

Show:
© 2014 Microsoft