PerformanceCounterManager.ICollectData.CollectData 方法      
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
注意
This class has been deprecated. Use the PerformanceCounters through the System.Diagnostics.PerformanceCounter class instead. http://go.microsoft.com/fwlink/?linkid=14202
注意
This class has been deprecated. Use the PerformanceCounters through the System.Diagnostics.PerformanceCounter class instead. https://go.microsoft.com/fwlink/?linkid=14202
注意
PerformanceCounterManager has been deprecated. Use the PerformanceCounters through the System.Diagnostics.PerformanceCounter class instead.
性能数据收集例程。 由 PerfCount perf dll 调用。
此 API 支持产品基础结构,不能在代码中直接使用。
 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 -> unitabstract member System.Diagnostics.ICollectData.CollectData : int * nativeint * nativeint * int * nativeint -> unit
override this.System.Diagnostics.ICollectData.CollectData : int * nativeint * nativeint * int * nativeint -> unitSub CollectData (callIdx As Integer, valueNamePtr As IntPtr, dataPtr As IntPtr, totalBytes As Integer, ByRef res As IntPtr) Implements ICollectData.CollectData参数
- callIdx
- Int32
调用索引。
- valueNamePtr
- 
				
				IntPtr
nativeint 
指向具有请求的对象标识符的 Unicode 字符串列表的指针。
- dataPtr
- 
				
				IntPtr
nativeint 
指向数据缓冲区的指针。
- totalBytes
- Int32
指向若干个字节的指针。
实现
- 属性