BuildProviderResultFlags BuildProviderResultFlags BuildProviderResultFlags BuildProviderResultFlags Enum

定义

指示生成虚拟路径时所需的行为。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
继承
BuildProviderResultFlagsBuildProviderResultFlagsBuildProviderResultFlagsBuildProviderResultFlags
属性

字段

Default Default Default Default 0

默认值;编译后不需任何特别操作。The default value; no special action is required after compilation.

ShutdownAppDomainOnChange ShutdownAppDomainOnChange ShutdownAppDomainOnChange 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值由 ASP.NET 生成环境使用的实例时BuildProvider类生成的文件和加载已编译的程序集。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.

适用于

另请参阅