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

编译虚拟路径需要卸载并重新启动其所在的 AppDomainThe 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.

适用于

另请参阅