PerformanceCounterManager.ICollectData.CollectData Método

Definição

Cuidado

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

Rotina de coleta de dados de desempenho. Chamado pelo perfCount perf dll.

Esta API dá suporte à infraestrutura do produto e não deve ser usada diretamente do seu código.

 virtual void System.Diagnostics.ICollectData.CollectData(int callIdx, IntPtr valueNamePtr, IntPtr dataPtr, int totalBytes, [Runtime::InteropServices::Out] IntPtr % res) = System::Diagnostics::ICollectData::CollectData;
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")]
void ICollectData.CollectData(int callIdx, IntPtr valueNamePtr, IntPtr dataPtr, int totalBytes, out IntPtr res);
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.  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
Sub CollectData (callIdx As Integer, valueNamePtr As IntPtr, dataPtr As IntPtr, totalBytes As Integer, ByRef res As IntPtr) Implements ICollectData.CollectData

Parâmetros

callIdx
Int32

O índice de chamada.

valueNamePtr
IntPtr

nativeint

Um ponteiro para uma lista de cadeias de caracteres Unicode com os identificadores de objeto solicitados.

dataPtr
IntPtr

nativeint

Um ponteiro para o buffer de dados.

totalBytes
Int32

Um ponteiro para vários bytes.

res
IntPtr

nativeint

Quando esse método é retornado, contém um IntPtr com um valor de -1.

Implementações

Atributos

Aplica-se a