Uredi

Deli z drugimi prek


Page.AsyncMode Property

Definition

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.

Applies to