SPDistributedCachePerfCounterHelper.SetTelemetryData - Méthode (String, String, Int32, CacheOperation, String, Int32, Int32, SPDistributedCacheTelemetryData)
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, _
numberOfObjectsRequested As Integer, _
numberOfObjectsReturned As Integer, _
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 numberOfObjectsRequested As Integer
Dim numberOfObjectsReturned As Integer
Dim teleData As SPDistributedCacheTelemetryData
SPDistributedCachePerfCounterHelper.SetTelemetryData(usage, key, _
objectSize, op, methodName, numberOfObjectsRequested, _
numberOfObjectsReturned, teleData)
public static void SetTelemetryData(
string usage,
string key,
int objectSize,
CacheOperation op,
string methodName,
int numberOfObjectsRequested,
int numberOfObjectsReturned,
SPDistributedCacheTelemetryData teleData
)
Paramètres
- usage
Type : System.String
- key
Type : System.String
- objectSize
Type : System.Int32
- methodName
Type : System.String
- numberOfObjectsRequested
Type : System.Int32
- numberOfObjectsReturned
Type : System.Int32
Voir aussi
Référence
SPDistributedCachePerfCounterHelper classe
SPDistributedCachePerfCounterHelper - Membres
Microsoft.SharePoint.DistributedCaching.Utilities - Espace de noms