订阅Windows跟踪会话 [英] Subscribing to Windows Trace Sessions

查看:65
本文介绍了订阅Windows跟踪会话的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我试图确认我对C#创建Windows跟踪会话的能力的理解,并可以使用一些帮助。我有一个C ++项目,它创建一个Windows跟踪会话并订阅多个提供程序。我想把这个代码移植到C#和
以为我能够根据我在网上看过的例子使用TraceEventSession,但我似乎无法找到这些库。


有谁知道C#.NET中是否仍然存在此功能? 

解决方案

您是否阅读过
文档
就此而言? / BLOCKQUOTE>

I am trying to confirm my understanding of C#s ability to create Windows trace sessions and could use some help. I have a project in C++ that creates a Windows trace session and subscribes to multiple providers. I want to port this code to C# and thought I would be able to use a TraceEventSession based on examples I've seen online, but I can't seem to find the libraries.

Does anyone know if this functionality still exists in C# .NET? 

解决方案

Have you read the documentation on this?


这篇关于订阅Windows跟踪会话的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆