ICorProfilerInfo11 的子类,提供创建 EventPipe 会话、事件和提供程序的方法。
方法
| 方法 | DESCRIPTION |
|---|---|
| EventPipeStartSession 方法 | 启动探查器 EventPipe 会话。 |
| EventPipeAddProviderToSession 方法 | 将提供程序添加到现有的 EventPipe 会话。 |
| EventPipeStopSession 方法 | 停止 EventPipe 会话。 |
| EventPipeCreateProvider 方法 | 创建 EventPipe 提供程序。 |
| EventPipeGetProviderInfo 方法 | 从其 ID 获取 EventPipe 提供程序的名称。 |
| EventPipeDefineEvent 方法 | 定义现有 EventPipe 提供程序上的事件。 |
| EventPipeWriteEvent 方法 | 写入 EventPipe 事件。 |
要求
平台: 请参阅 .NET 支持的作系统。
页眉: CorProf.idl、CorProf.h
.NET 版本: 自 .NET 5.0 起可用