PerformanceCounterManager.ICollectData.CollectData Metod
Definition
Viktigt
En del information gäller för förhandsversionen av en produkt och kan komma att ändras avsevärt innan produkten blir allmänt tillgänglig. Microsoft lämnar inga garantier, uttryckliga eller underförstådda, avseende informationen som visas här.
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.
Implementeringar
- Attribut