다음을 통해 공유


System.Transactions Trace

Add following info to your application config file to trace System.Transactions calls

<configuration>
<system.diagnostics>
<sources>
<source name="System.Transactions" switchValue="Information">
<listeners>
<add name="tx"
type="System.Diagnostics.XmlWriterTraceListener"
initializeData= "tx.log" />
</listeners>
</source>
</sources>
</system.diagnostics>
</configuration>

MORE INFO:

once you got trace file, you can open the trace in SvcTraceViewer.exe

 

You can enable MSDTC transaction trace,CM trace to know more about transaction also

 

Reference:

 

https://msdn2.microsoft.com/en-us/library/ms229979.aspx

 

https://msdn2.microsoft.com/en-us/library/ms678891.aspx

 

https://support.microsoft.com/kb/926099

 

https://support.microsoft.com/kb/898918/

Comments

  • Anonymous
    February 18, 2008
    Tracing The WS-AT protocol service supports integrated, transaction specific tracing that can be enabled