次の方法で共有


SPLongOperation.Dispose method

Indicates to the server that the IDisposable object (and its associated image and text resources) are no longer needed and should be disposed of by the system.

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

Syntax

'Declaration
Public Sub Dispose
'Usage
Dim instance As SPLongOperation

instance.Dispose()
public void Dispose()

Implements

IDisposable.Dispose()

Remarks

Call Dispose when you are finished using the SPLongOperation class. The Dispose method leaves the SPLongOperation class in an unusable state. After calling Dispose, you must release all references to the SPLongOperation class so the garbage collector can reclaim the memory that the SPLongOperation class was occupying.

See also

Reference

SPLongOperation class

SPLongOperation members

Dispose overload

Microsoft.SharePoint namespace