ICorProfilerInfo12 接口

ICorProfilerInfo11 的子类,提供创建 EventPipe 会话、事件和提供程序的方法。

方法

方法 说明
EventPipeStartSession 方法 启动探查器 EventPipe 会话。
EventPipeAddProviderToSession 方法 向现有的 EventPipe 会话添加提供程序。
EventPipeStopSession 方法 停止 EventPipe 会话。
EventPipeCreateProvider 方法 创建 EventPipe 提供程序。
EventPipeGetProviderInfo 方法 从 EventPipe 提供程序的 ID 获取其名称。
EventPipeDefineEvent 方法 在现有 EventPipe 提供程序上定义事件。
EventPipeWriteEvent 方法 写入 EventPipe 事件。

要求

平台:请参阅 .NET 支持的操作系统

头文件: CorProf.idl、CorProf.h

.NET 版本:自 .NET 5.0 起可用

另请参阅