共用方式為


SPMonitoredScope.OnDisposing method

釋放所有監視器,然後呼叫方法登監視的統計資料,並將前一個範圍設定為目前的範圍。

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

Syntax

'宣告
Protected Overridable Sub OnDisposing
'用途

Me.OnDisposing()
protected virtual void OnDisposing()

請參閱

參照

SPMonitoredScope class

SPMonitoredScope members

Microsoft.SharePoint.Utilities namespace