是否可以扩展 Intellitrace 事件? [英] Is it possible to extend Intellitrace events?

查看:30
本文介绍了是否可以扩展 Intellitrace 事件?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

具体来说,我想做的是从我的应用程序和库中引发新事件,类似于 ADO.NET 公开的事件.

Specifically, what I'd like to do is raise new events from my apps and libraries, similar to those exposed by ADO.NET.

现实生活场景:NHibernate 的一个补丁,即使它们被缓存(因此,不会到达 ADO.NET 层)也能显示已执行的查询

Real life scenario: a patch for NHibernate that shows executed queries even when they are cached (and, therefore, don't reach the ADO.NET layer)

我找到了很多关于使用Intellitrace和intellitrace的文档,但没有关于生成它的文档.

I found a lot of documentation about using Intellitrace and intellitrace, but none about generating it.

这甚至可能吗?还是所有内容都硬编码在 VS 中?

Is this even possible? Or is everything hardcoded in the guts of VS?

推荐答案

查看 此示例 了解如何定义自己的 IntelliTrace 事件.

Check out this example to see how you can define your own IntelliTrace Events.

这篇关于是否可以扩展 Intellitrace 事件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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