internal static void Trace(string traceSource, TransactionTraceIdentifier txTraceId, TransactionScopeResult txScopeResult)
 {
     lock (record)
     {
         record.traceSource = traceSource;
         record.txTraceId = txTraceId;
         record.txScopeResult = txScopeResult;
         DiagnosticTrace.TraceEvent(TraceEventType.Information, "http://msdn.microsoft.com/2004/06/System/Transactions/TransactionScopeCreated", System.Transactions.SR.GetString("TraceTransactionScopeCreated"), record);
     }
 }
Exemplo n.º 2
0
 private void TransactionScopeCreated(string transactionID, TransactionScopeResult transactionScopeResult)
 {
     WriteEvent(TRANSACTIONSCOPE_CREATED_EVENTID, transactionID, transactionScopeResult);
 }
Exemplo n.º 3
0
 internal void TransactionScopeCreated(TransactionTraceIdentifier transactionID, TransactionScopeResult transactionScopeResult )
 {
     if (IsEnabled(EventLevel.Informational, ALL_KEYWORDS))
     {
         TransactionScopeCreated(transactionID.TransactionIdentifier.ToString(), transactionScopeResult);
     }
 }
Exemplo n.º 4
0
 internal static void Trace(string traceSource, TransactionTraceIdentifier txTraceId, TransactionScopeResult txScopeResult)
 {   
     lock (record)
     {
         record.traceSource = traceSource;
         record.txTraceId = txTraceId;
         record.txScopeResult = txScopeResult;
         DiagnosticTrace.TraceEvent(TraceEventType.Information,
             TransactionsTraceCode.TransactionScopeCreated,
             SR.GetString( SR.TraceTransactionScopeCreated ),
             record);
     }
 }
Exemplo n.º 5
0
 internal static void Trace(string traceSource, TransactionTraceIdentifier txTraceId, TransactionScopeResult txScopeResult)
 {
     lock (record)
     {
         record.traceSource   = traceSource;
         record.txTraceId     = txTraceId;
         record.txScopeResult = txScopeResult;
         DiagnosticTrace.TraceEvent(TraceEventType.Information,
                                    TransactionsTraceCode.TransactionScopeCreated,
                                    SR.GetString(SR.TraceTransactionScopeCreated),
                                    record);
     }
 }
Exemplo n.º 6
0
 internal static void Trace(string traceSource, TransactionTraceIdentifier txTraceId, TransactionScopeResult txScopeResult)
 {
     lock (record)
     {
         record.traceSource   = traceSource;
         record.txTraceId     = txTraceId;
         record.txScopeResult = txScopeResult;
         DiagnosticTrace.TraceEvent(TraceEventType.Information, "http://msdn.microsoft.com/2004/06/System/Transactions/TransactionScopeCreated", System.Transactions.SR.GetString("TraceTransactionScopeCreated"), record);
     }
 }