共用方式為


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

適用於