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如果您要設定ErrorDialogtrue,必須是 true

適用於