Ask Learn
Preview
Please sign in to use this experience.
Sign inThis browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
NOTE: This API is now obsolete.
Indicates that work being performed on an external asynchronous thread that has been registered using the RegisterWorkItem method has completed.
Namespace: Microsoft.SharePoint.WebPartPages
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
'Declaration
<ObsoleteAttribute("Use Page.RegisterAsyncTask instead.")> _
<AspNetHostingPermissionAttribute(SecurityAction.LinkDemand, Level := AspNetHostingPermissionLevel.Minimal)> _
Protected Sub NotifyWorkItemComplete ( _
iar As IAsyncResult _
)
'Usage
Dim iar As IAsyncResult
Me.NotifyWorkItemComplete(iar)
[ObsoleteAttribute("Use Page.RegisterAsyncTask instead.")]
[AspNetHostingPermissionAttribute(SecurityAction.LinkDemand, Level = AspNetHostingPermissionLevel.Minimal)]
protected void NotifyWorkItemComplete(
IAsyncResult iar
)
iar
Type: System.IAsyncResult
A System.IAsyncResult object.
If the NotifyWorkItemComplete method is not called, or is not called before the timeout occurs for the work being performed, the Web Part infrastructure treats the work as if it has timed out and calls the RenderWorkItemTimeout method instead of the RenderWebPart method.
Please sign in to use this experience.
Sign in