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 rea开发者_开发问答ch 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?
Check out this example to see how you can define your own IntelliTrace Events.
精彩评论