SPDistributedCachePerfCounterHelper.SetTelemetryData method (String, String, Int32, CacheOperation, String, SPDistributedCacheTelemetryData)
sets the telemeteryData properties
Namespace: Microsoft.SharePoint.DistributedCaching.Utilities
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
Public Shared Sub SetTelemetryData ( _
usage As String, _
key As String, _
objectSize As Integer, _
op As CacheOperation, _
methodName As String, _
teleData As SPDistributedCacheTelemetryData _
)
'Usage
Dim usage As String
Dim key As String
Dim objectSize As Integer
Dim op As CacheOperation
Dim methodName As String
Dim teleData As SPDistributedCacheTelemetryDataSPDistributedCachePerfCounterHelper.SetTelemetryData(usage, key, _
objectSize, op, methodName, teleData)
public static void SetTelemetryData(
string usage,
string key,
int objectSize,
CacheOperation op,
string methodName,
SPDistributedCacheTelemetryData teleData
)
Parameters
- usage
Type: System.String
- key
Type: System.String
- objectSize
Type: System.Int32
- methodName
Type: System.String
See also
Reference
SPDistributedCachePerfCounterHelper class