HttpContextWrapper.AsyncPreloadMode 属性
定义
获取或设置包含适用于异步预加载模式的标志的对象。Gets or sets an object that contains flags that pertain to asynchronous preload mode.
public:
virtual property System::Web::Configuration::AsyncPreloadModeFlags AsyncPreloadMode { System::Web::Configuration::AsyncPreloadModeFlags get(); void set(System::Web::Configuration::AsyncPreloadModeFlags value); };
public override System.Web.Configuration.AsyncPreloadModeFlags AsyncPreloadMode { get; set; }
member this.AsyncPreloadMode : System.Web.Configuration.AsyncPreloadModeFlags with get, set
Public Overrides Property AsyncPreloadMode As AsyncPreloadModeFlags
属性值
包含适用于异步预加载模式的标志的对象。An object that contains flags that pertain to asynchronous preload mode.
尽管可以以编程方式设置此属性,只有该属性在 ASP.NET 请求管道中的 ExecuteRequestHandler 步骤之前设置,更改属性值才起作用。Although this property can be set programmatically, changing the property value only has effect if the property is set before the ExecuteRequestHandler step in the ASP.NET request pipeline.