Rediger

Del via


HttpContext.AsyncPreloadMode Property

Definition

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

public:
 property System::Web::Configuration::AsyncPreloadModeFlags AsyncPreloadMode { System::Web::Configuration::AsyncPreloadModeFlags get(); void set(System::Web::Configuration::AsyncPreloadModeFlags value); };
public System.Web.Configuration.AsyncPreloadModeFlags AsyncPreloadMode { get; set; }
member this.AsyncPreloadMode : System.Web.Configuration.AsyncPreloadModeFlags with get, set
Public Property AsyncPreloadMode As AsyncPreloadModeFlags

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