SPStatefulLongOperation Class
SharePoint 2010
Runs an operation asynchronously while optionally providing progress updates to the client.
Namespace:
Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No