Export (0) Print
Expand All

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
[C#]
public bool ErrorDialog {get; set;}
[C++]
public: __property bool get_ErrorDialog();
public: __property void set_ErrorDialog(bool);
[JScript]
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.

Remarks

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

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