Page.AsyncMode Propriedade
Definição
Define um valor que indica se a página é processada de forma síncrona ou assíncrona.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
Valor da propriedade
true se a página for processada de forma assíncrona; caso contrário, false.true if the page is processed asynchronously; otherwise, false.
Comentários
A AsyncMode propriedade é definida pelo Page analisador quando o código para a página é gerado.The AsyncMode property is set by the Page parser when code for the page is generated. Use o Async atributo na diretiva @ Page para definir esse valor.Use the Async attribute in @ Page directive to set this value.
As páginas assíncronas não funcionam quando o AspCompat atributo é definido como true ou o Transaction atributo é definido com um valor diferente de Disabled na diretiva @ Page .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.