通过


BuildManagerHostUnloadEventArgs(ApplicationShutdownReason) 构造函数

定义

初始化 BuildManagerHostUnloadEventArgs 类的新实例。

public:
 BuildManagerHostUnloadEventArgs(System::Web::ApplicationShutdownReason reason);
public BuildManagerHostUnloadEventArgs(System.Web.ApplicationShutdownReason reason);
new System.Web.Compilation.BuildManagerHostUnloadEventArgs : System.Web.ApplicationShutdownReason -> System.Web.Compilation.BuildManagerHostUnloadEventArgs
Public Sub New (reason As ApplicationShutdownReason)

参数

reason
ApplicationShutdownReason

托管应用程序域关闭的原因。

注解

此构造函数创建一个新实例, BuildManagerHostUnloadEventArgs 该实例的属性 Reason 设置为 reason.

适用于