Is it possible to extend Intellitrace events?

有些话、适合烂在心里 提交于 2020-01-02 04:48:05

问题


Specifically, what I'd like to do is raise new events from my apps and libraries, similar to those exposed by 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)

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

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


回答1:


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



来源:https://stackoverflow.com/questions/5552992/is-it-possible-to-extend-intellitrace-events

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!