ProcessStartInfo.ErrorDialog 属性

定义

获取或设置一个值,该值指示如果无法启动进程,是否向用户显示错误对话框。

public:
 property bool ErrorDialog { bool get(); void set(bool value); };
public bool ErrorDialog { get; set; }
member this.ErrorDialog : bool with get, set
Public Property ErrorDialog As Boolean

属性值

true 如果无法启动进程,则应在屏幕上显示错误对话框;否则,为 false. 默认值为 false

注解

注释

UseShellExecute 必须 true 设置为 ErrorDialogtrue.

适用于