Метод SPDistributedCachePerfCounterHelper.SetTelemetryData (String, String, Int32, CacheOperation, String, SPDistributedCacheTelemetryData)
Устанавливает свойства telemeteryData
Пространство имен: Microsoft.SharePoint.DistributedCaching.Utilities
Сборка: Microsoft.SharePoint (в Microsoft.SharePoint.dll)
Синтаксис
'Декларация
Public Shared Sub SetTelemetryData ( _
usage As String, _
key As String, _
objectSize As Integer, _
op As CacheOperation, _
methodName As String, _
teleData As SPDistributedCacheTelemetryData _
)
'Применение
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
)
Параметры
- usage
Тип: System.String
- key
Тип: System.String
- objectSize
Тип: System.Int32
- methodName
Тип: System.String
См. также
Справочные материалы
SPDistributedCachePerfCounterHelper класс
Элементы SPDistributedCachePerfCounterHelper
Пространство имен Microsoft.SharePoint.DistributedCaching.Utilities