Share via


NotifyWorkItemComplete(System.IAsyncResult) Method

The NotifyWorkItemComplete method of the WebPart class indicates that work being performed on an external asynchronous thread that has been registered using the RegisterWorkItem method has bee completed.

Parameters

iar   A System.IAsyncResult.

Remarks

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.

Requirements

Platforms: Microsoft Windows Server 2003

Security: Code Access Security