Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
RegisterWorkItem method
Collapse the table of content
Expand the table of content

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.
© 2015 Microsoft