Freigeben über


ProcessStartInfo.ErrorDialog-Eigenschaft

Ruft einen Wert ab, der angibt, ob dem Benutzer ein Fehlerdialogfeld angezeigt wird, wenn der Prozess nicht gestartet werden kann, oder legt diesen fest.

Namespace: System.Diagnostics
Assembly: System (in system.dll)

Syntax

'Declaration
Public Property ErrorDialog As Boolean
'Usage
Dim instance As ProcessStartInfo
Dim value As Boolean

value = instance.ErrorDialog

instance.ErrorDialog = value
public bool ErrorDialog { get; set; }
public:
property bool ErrorDialog {
    bool get ();
    void set (bool value);
}
/** @property */
public boolean get_ErrorDialog ()

/** @property */
public void set_ErrorDialog (boolean value)
public function get ErrorDialog () : boolean

public function set ErrorDialog (value : boolean)

Eigenschaftenwert

true, um ein Fehlerdialogfeld auf dem Bildschirm anzuzeigen, wenn der Prozess nicht gestartet werden kann, andernfalls false.

Hinweise

Hinweis

UseShellExecute muss true sein, wenn Sie ErrorDialog auf true festlegen möchten.

Plattformen

Windows 98, Windows 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile für Pocket PC, Windows Mobile für Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

.NET Framework unterstützt nicht alle Versionen sämtlicher Plattformen. Eine Liste der unterstützten Versionen finden Sie unter Systemanforderungen.

Versionsinformationen

.NET Framework

Unterstützt in: 2.0, 1.1, 1.0

Siehe auch

Referenz

ProcessStartInfo-Klasse
ProcessStartInfo-Member
System.Diagnostics-Namespace