BuildProviderResultFlags 列舉

定義

代表建立虛擬路徑時應採取的行為。Indicates the required behavior when a virtual path is built.

此列舉具有 FlagsAttribute 個屬性允許以位元方式合併其成員值。

public enum class BuildProviderResultFlags
[System.Flags]
public enum BuildProviderResultFlags
type BuildProviderResultFlags = 
Public Enum BuildProviderResultFlags
繼承
BuildProviderResultFlags
屬性

欄位

Default 0

預設值,表示編譯完成後不需要採取任何特殊行動。The default value; no special action is required after compilation.

ShutdownAppDomainOnChange 1

編譯虛擬路徑時,必須將所屬的 AppDomain 卸載並重新啟動。The compilation of the virtual path requires the containing AppDomain to be unloaded and restarted. 這種方式只有在比較進階的編譯過程中才會用到,通常都應該使用 Default 這個值。This is only used in advanced compilation scenarios; typically, you should use the Default value.

備註

這些BuildProviderResultFlags值是用來指出BuildProvider.GetResultFlags方法的結果。The BuildProviderResultFlags values are used to indicate the results from the BuildProvider.GetResultFlags method. 列舉值表示在 ASP.NET 組建環境內建立虛擬路徑之後所需的動作。The enumeration values indicate actions that are required after a virtual path is built within the ASP.NET build environment. BuildProviderResultFlags使用BuildProvider類別的實例來建立檔案並載入編譯的元件時, ASP.NET 組建環境會使用這些值。The BuildProviderResultFlags values are used by the ASP.NET build environment when using instances of the BuildProvider class to build files and load the compiled assemblies.

適用於

另請參閱