ClientBuildManager.GetAppDomainShutdownDirectories 方法

定义

获取包含特定文件的目录,这些文件如果更改,会导致应用程序域关闭。Gets the directories with files that, when changed, cause the application domain to shut down.

public:
 cli::array <System::String ^> ^ GetAppDomainShutdownDirectories();
public string[] GetAppDomainShutdownDirectories ();
member this.GetAppDomainShutdownDirectories : unit -> string[]
Public Function GetAppDomainShutdownDirectories () As String()

返回

String[]

包含顶级目录名称的 String 数组。A String array containing the top-level directory names.

注解

对特定顶层目录中的文件所做的更改会导致应用程序域关闭。Changes to files in specific top-level directories cause the application domain to shut down. 将监视 Bin、App_Code、Global_Resources、Web 引用和 App_Browsers 目录中的文件,以检测任何更改。Files within the Bin, App_Code, Global_Resources, Web References, and App_Browsers directories are monitored to detect any changes. 当检测到更改时,应用程序域将关闭。When changes are detected, the application domain is shut down.

适用于

另请参阅