SPMonitoredScope.OnDisposing Method

Releases all monitors and then calls methods to log monitoring statistics and to set the previous scope to the current scope.

Namespace:  Microsoft.SharePoint.Utilities
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

Syntax

'Declaration
<SubsetCallableExcludeMemberAttribute(SubsetCallableExcludeMemberType.ProtectedMethod)> _
Protected Overridable Sub OnDisposing
'Usage

Me.OnDisposing()
[SubsetCallableExcludeMemberAttribute(SubsetCallableExcludeMemberType.ProtectedMethod)]
protected virtual void OnDisposing()

See Also

Reference

SPMonitoredScope Class

SPMonitoredScope Members

Microsoft.SharePoint.Utilities Namespace