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

SPLongOperation.BeginOperation delegate

Defines the signature for a delegate that begins a long operation.

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

public delegate void BeginOperation(
	SPLongOperation longOperation


Type: Microsoft.SharePoint.SPLongOperation

An object that represents a long operation.

You can use this delegate method with the static SPLongOperation.Begin(SPLongOperation.BeginOperation) method, as shown in the following example:

    delegate(SPLongOperation longOperation)
        // Do something that takes a long time to complete.
        // Inform the server that the work is done
        // and that the page used to indicate progress
        // is no longer needed.
© 2015 Microsoft