xtd 0.2.0
Loading...
Searching...
No Matches

◆ error_dialog() [2/2]

process_start_info & xtd::diagnostics::process_start_info::error_dialog ( bool  value)
noexcept

Sets a value indicating whether an error dialog box is displayed to the user if the process cannot be started.

Parameters
valuetrue if an error dialog box should be displayed on the screen if the process cannot be started; otherwise, false. The default is false.
Returns
The current instance of process_start_info.
Note
xtd::diagnostics::process_start_info::use_shell_execute must be true if you want to set xtd::diagnostics::process_start_info::error_dialog to true.