PageAsyncTask.BeginHandler Property

 

Gets the method to call when beginning an asynchronous task.

Namespace:   System.Web.UI
Assembly:  System.Web (in System.Web.dll)

member BeginHandler : BeginEventHandler with get, private set

Property Value

Type: System.Web.BeginEventHandler

A 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.

No code example is currently available or this language may not be supported.
No code example is currently available or this language may not be supported.

.NET Framework
Available since 2.0
Return to top
Show: