Compartilhar via


SPMonitoredScope.AddMonitor<T> Method

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

Syntax

'Declaration
<SubsetCallableExcludeMemberAttribute(SubsetCallableExcludeMemberType.GenericMethod)> _
Protected Function AddMonitor(Of T As ISPScopedPerformanceMonitor) ( _
    monitor As T _
) As T
'Usage
Dim monitor As T
Dim returnValue As T

returnValue = Me.AddMonitor(monitor)
[SubsetCallableExcludeMemberAttribute(SubsetCallableExcludeMemberType.GenericMethod)]
protected T AddMonitor<T>(
    T monitor
)
where T : ISPScopedPerformanceMonitor

Type Parameters

  • T

Parameters

  • monitor
    Type: T

Return Value

Type: T

See Also

Reference

SPMonitoredScope Class

SPMonitoredScope Members

Microsoft.SharePoint.Utilities Namespace