- task
- A System.Web.UI.PageAsyncTask that defines the asynchronous task.
Define an asynchronous task using the System.Web.UI.PageAsyncTask class. When the task is defined, use the Page.RegisterAsyncTask(PageAsyncTask) method to register the task with the page. After registering the task, invoke the Page.ExecuteRegisteredAsyncTasks method to begin the asynchronous task.
The Page.RegisterAsyncTask(PageAsyncTask) method can be used with both synchronous and asynchronous pages.