Subscribing to Windows Trace Sessions RRS feed

  • Question

  • 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? 

    Saturday, January 26, 2019 9:03 PM

All replies

  • Have you read the documentation on this?

    Please remember to mark the replies as answers if they help and unmark them if they provide no help, this will help others who are looking for solutions to the same or similar problem. Contact via my Twitter (Karen Payne) or Facebook (Karen Payne) via my MSDN profile but will not answer coding question on either.
    VB Forums - moderator
    profile for Karen Payne on Stack Exchange, a network of free, community-driven Q&A sites

    • Proposed as answer by Stanly Fan Friday, February 1, 2019 7:38 AM
    Sunday, January 27, 2019 11:06 AM
  • Hi joeldavideng,

    Thank you for posting here.

    For your question, the link below would be helpful to you.

    Best Regards,


    MSDN Community Support
    Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact

    • Proposed as answer by Stanly Fan Friday, February 1, 2019 7:38 AM
    Monday, January 28, 2019 6:28 AM