This documentation is archived and is not being maintained.

ProcessStartInfo.ErrorDialog Property

Gets or sets a value indicating whether an error dialog is displayed to the user if the process cannot be started.

[Visual Basic]
Public Property ErrorDialog As Boolean
public bool ErrorDialog {get; set;}
public: __property bool get_ErrorDialog();
public: __property void set_ErrorDialog(bool);
public function get ErrorDialog() : Boolean;
public function set ErrorDialog(Boolean);

Property Value

true to display an error dialog on the screen if the process cannot be started; otherwise, false.


Note    UseShellExecute must be true if you want to set ErrorDialog to true.


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