CompilationSection.EnablePrefetchOptimization 属性

定义

获取或设置一个值,该值指示 ASP.NET 应用程序是否可以利用Windows 8预提取功能。

public:
 property bool EnablePrefetchOptimization { bool get(); void set(bool value); };
[System.Configuration.ConfigurationProperty("enablePrefetchOptimization", DefaultValue=false)]
public bool EnablePrefetchOptimization { get; set; }
[<System.Configuration.ConfigurationProperty("enablePrefetchOptimization", DefaultValue=false)>]
member this.EnablePrefetchOptimization : bool with get, set
Public Property EnablePrefetchOptimization As Boolean

属性值

如果 ASP.NET 应用程序可以利用Windows 8预提取功能,true;否则为 false。 默认值为 false

属性

注解

预提取是一个实用工具,旨在通过在需要应用程序数据之前将应用程序数据加载到内存中来提高应用程序启动性能。

注释

必须配置并运行Windows 8预提取服务才能使此设置生效。

适用于