title: C# Functional Call Transaction Id
body: <p>I have a windows application in C# and for every event like button click or tab change a transaction id is required that will exist within that event function flow only. It is purely for grouping log messages based on generated transaction ids.</p>
  
  <p>I need help to generate and kill the transaction id for the function flow from any particular event. And in case of multi-threading and asynchronous calls also.</p>
  
  <p>Thanks in advance,</p>