SPDistributedCachePerfCounterHelper.SetTelemetryData - Méthode (String, String, Int32, CacheOperation, String, SPDistributedCacheTelemetryData)
définit les propriétés de telemeteryData
Espace de noms : Microsoft.SharePoint.DistributedCaching.Utilities
Assembly : Microsoft.SharePoint (dans Microsoft.SharePoint.dll)
Syntaxe
'Déclaration
Public Shared Sub SetTelemetryData ( _
usage As String, _
key As String, _
objectSize As Integer, _
op As CacheOperation, _
methodName As String, _
teleData As SPDistributedCacheTelemetryData _
)
'Utilisation
Dim usage As String
Dim key As String
Dim objectSize As Integer
Dim op As CacheOperation
Dim methodName As String
Dim teleData As SPDistributedCacheTelemetryData
SPDistributedCachePerfCounterHelper.SetTelemetryData(usage, key, _
objectSize, op, methodName, teleData)
public static void SetTelemetryData(
string usage,
string key,
int objectSize,
CacheOperation op,
string methodName,
SPDistributedCacheTelemetryData teleData
)
Paramètres
- usage
Type : System.String
- key
Type : System.String
- objectSize
Type : System.Int32
- methodName
Type : System.String
Voir aussi
Référence
SPDistributedCachePerfCounterHelper classe
SPDistributedCachePerfCounterHelper - Membres
Microsoft.SharePoint.DistributedCaching.Utilities - Espace de noms