PerformanceCounterManager.ICollectData.CollectData Méthode

Définition

Attention

This class has been deprecated. Use the PerformanceCounters through the System.Diagnostics.PerformanceCounter class instead. http://go.microsoft.com/fwlink/?linkid=14202

Attention

This class has been deprecated. Use the PerformanceCounters through the System.Diagnostics.PerformanceCounter class instead. https://go.microsoft.com/fwlink/?linkid=14202

Attention

PerformanceCounterManager has been deprecated. Use the PerformanceCounters through the System.Diagnostics.PerformanceCounter class instead.

Routine de collecte de données de performance. Appelée par la DLL de performance PerfCount.

Cette API prend en charge l'infrastructure du produit et n'est pas destinée à être utilisée directement à partir de votre code.

 virtual void System.Diagnostics.ICollectData.CollectData(int callIdx, IntPtr valueNamePtr, IntPtr dataPtr, int totalBytes, [Runtime::InteropServices::Out] IntPtr % res) = System::Diagnostics::ICollectData::CollectData;
[System.Obsolete("This class has been deprecated.  Use the PerformanceCounters through the System.Diagnostics.PerformanceCounter class instead.  http://go.microsoft.com/fwlink/?linkid=14202")]
void ICollectData.CollectData (int callIdx, IntPtr valueNamePtr, IntPtr dataPtr, int totalBytes, out IntPtr res);
[System.Obsolete("This class has been deprecated.  Use the PerformanceCounters through the System.Diagnostics.PerformanceCounter class instead.  https://go.microsoft.com/fwlink/?linkid=14202")]
void ICollectData.CollectData (int callIdx, IntPtr valueNamePtr, IntPtr dataPtr, int totalBytes, out IntPtr res);
[System.Obsolete("PerformanceCounterManager has been deprecated. Use the PerformanceCounters through the System.Diagnostics.PerformanceCounter class instead.")]
void ICollectData.CollectData (int callIdx, IntPtr valueNamePtr, IntPtr dataPtr, int totalBytes, out IntPtr res);
void ICollectData.CollectData (int callIdx, IntPtr valueNamePtr, IntPtr dataPtr, int totalBytes, out IntPtr res);
[<System.Obsolete("This class has been deprecated.  Use the PerformanceCounters through the System.Diagnostics.PerformanceCounter class instead.  http://go.microsoft.com/fwlink/?linkid=14202")>]
abstract member System.Diagnostics.ICollectData.CollectData : int * nativeint * nativeint * int * nativeint -> unit
override this.System.Diagnostics.ICollectData.CollectData : int * nativeint * nativeint * int * nativeint -> unit
[<System.Obsolete("This class has been deprecated.  Use the PerformanceCounters through the System.Diagnostics.PerformanceCounter class instead.  https://go.microsoft.com/fwlink/?linkid=14202")>]
abstract member System.Diagnostics.ICollectData.CollectData : int * nativeint * nativeint * int * nativeint -> unit
override this.System.Diagnostics.ICollectData.CollectData : int * nativeint * nativeint * int * nativeint -> unit
[<System.Obsolete("PerformanceCounterManager has been deprecated. Use the PerformanceCounters through the System.Diagnostics.PerformanceCounter class instead.")>]
abstract member System.Diagnostics.ICollectData.CollectData : int * nativeint * nativeint * int * nativeint -> unit
override this.System.Diagnostics.ICollectData.CollectData : int * nativeint * nativeint * int * nativeint -> unit
abstract member System.Diagnostics.ICollectData.CollectData : int * nativeint * nativeint * int * nativeint -> unit
override this.System.Diagnostics.ICollectData.CollectData : int * nativeint * nativeint * int * nativeint -> unit
Sub CollectData (callIdx As Integer, valueNamePtr As IntPtr, dataPtr As IntPtr, totalBytes As Integer, ByRef res As IntPtr) Implements ICollectData.CollectData

Paramètres

callIdx
Int32

Index de l'appel.

valueNamePtr
IntPtr

nativeint

Pointeur vers une liste de chaînes Unicode avec les identificateurs d'objets demandés.

dataPtr
IntPtr

nativeint

Pointeur vers le tampon de données.

totalBytes
Int32

Pointeur vers plusieurs octets.

res
IntPtr

nativeint

Lorsque cette méthode retourne une valeur, contient un IntPtr avec une valeur de -1.

Implémente

Attributs

S’applique à