PerformanceCounterManager.ICollectData.CollectData Metod

Definition

Varning

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

Prestandadatainsamlingsrutin. Anropas av PerfCount perf dll.

Detta API stöder produktinfrastrukturen och är inte avsett att användas direkt från koden.

 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

Parametrar

callIdx
Int32

Anropsindexet.

valueNamePtr
IntPtr

nativeint

En pekare till en Unicode-stränglista med de begärda objektidentifierarna.

dataPtr
IntPtr

nativeint

En pekare till databufferten.

totalBytes
Int32

En pekare till ett antal byte.

res
IntPtr

nativeint

När den här metoden returnerar, innehåller en IntPtr med värdet -1.

Implementeringar

Attribut

Gäller för