UnhandledExceptionEventArgs.ExitApplication 属性

定义

指示应用程序在退出异常处理程序时是否应退出。

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

属性值

指示 Boolean 应用程序是否应在退出异常处理程序时退出。

注解

Visual Basic 应用程序模型在运行事件的处理程序 UnhandledException 后检查此属性的值。 ExitApplication如果是True,则应用程序退出。 否则,应用程序将继续运行。 有关详细信息,请参阅 Visual Basic 应用程序模型的概述

适用于

另请参阅