WebPart.RegisterWorkItem method

NOTE: This API is now obsolete.

Keeps track of work being done by an external thread, such as a Web Part that handles its own thread pool.

Namespace:  Microsoft.SharePoint.WebPartPages
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

[ObsoleteAttribute("Use Page.RegisterAsyncTask instead.")]
protected bool RegisterWorkItem(
	IAsyncResult ar


Type: System.IAsyncResult

A System.IAsyncResult object that is returned to this method when an asynchronous operation completes.

Return value

Type: System.Boolean
true if the method succeeds; otherwise, false.