PageAsyncTask.BeginHandler Property
.NET Framework (current version)
Gets the method to call when beginning an asynchronous task.
Assembly: System.Web (in System.Web.dll)
Property Value
Type: System.Web.BeginEventHandlerA BeginEventHandler delegate that represents the method to call when beginning the asynchronous task.
The BeginHandler delegate is set in the constructor.
The following code example registers three asynchronous tasks to a page and executes them in parallel. Each task calls a method that merely causes the thread to sleep for 5 seconds. A BeginHandler delegate is specified for each task.
.NET Framework
Available since 2.0
Available since 2.0
Show: