HttpContext.AsyncPreloadMode Property

Definition

Gets or sets an object that contains flags that pertain to asynchronous preload mode.

C#
public System.Web.Configuration.AsyncPreloadModeFlags AsyncPreloadMode { get; set; }

Property Value

An object that contains flags that pertain to asynchronous preload mode.

Remarks

The first time this property is accessed, the object that contains flags for asynchronous preload mode is loaded from the AsyncPreloadMode setting in the configuration file.

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.

Applies to

Product Versions
.NET Framework 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1