Page.AsyncMode Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Sets a value indicating whether the page is processed synchronously or asynchronously.
protected:
property bool AsyncMode { bool get(); void set(bool value); };
protected bool AsyncMode { get; set; }
member this.AsyncMode : bool with get, set
Protected Property AsyncMode As Boolean
Property Value
true
if the page is processed asynchronously; otherwise, false
.
Remarks
The AsyncMode property is set by the Page parser when code for the page is generated. Use the Async
attribute in @ Page directive to set this value.
Asynchronous pages do not work when the AspCompat
attribute is set to true
or the Transaction
attribute is set to a value other than Disabled
in the @ Page directive.