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
)

参数

另请参阅

引用

SPDistributedCachePerfCounterHelper 类

SPDistributedCachePerfCounterHelper 成员

SetTelemetryData 重载

Microsoft.SharePoint.DistributedCaching.Utilities 命名空间