internal static void Trace(string traceSource, EnlistmentTraceIdentifier enTraceId, NotificationCall notCall)
 {
     lock (record)
     {
         record.traceSource = traceSource;
         record.enTraceId = enTraceId;
         record.notCall = notCall;
         DiagnosticTrace.TraceEvent(TraceEventType.Verbose, "http://msdn.microsoft.com/2004/06/System/Transactions/EnlistmentNotificationCall", System.Transactions.SR.GetString("TraceEnlistmentNotificationCall"), record);
     }
 }
コード例 #2
0
        internal void EnlistmentStatus(InternalEnlistment enlistment, NotificationCall notificationCall)
        {
            Debug.Assert(enlistment != null, "Enlistment needed for the ETW event.");

            if (IsEnabled(EventLevel.Verbose, ALL_KEYWORDS))
            {
                EnlistmentStatus(enlistment.EnlistmentTraceId.EnlistmentIdentifier, notificationCall.ToString());
            }
        }
コード例 #3
0
ファイル: TraceRecords.cs プロジェクト: JianwenSun/cc
 internal static void Trace(string traceSource, EnlistmentTraceIdentifier enTraceId, NotificationCall notCall)
 {   
     lock (record)
     {
         record.traceSource = traceSource;
         record.enTraceId = enTraceId;
         record.notCall = notCall;
         DiagnosticTrace.TraceEvent(TraceEventType.Verbose, 
             TransactionsTraceCode.EnlistmentNotificationCall,
             SR.GetString( SR.TraceEnlistmentNotificationCall ),
             record);
     }
 }
コード例 #4
0
ファイル: TraceRecords.cs プロジェクト: Corillian/corefx
 internal static void Trace(string traceSource, EnlistmentTraceIdentifier enTraceId, NotificationCall notCall)
 {
     lock (s_record)
     {
         s_record._traceSource = traceSource;
         s_record._enTraceId = enTraceId;
         s_record._notCall = notCall;
         DiagnosticTrace.TraceEvent(TraceEventType.Verbose,
             TransactionsTraceCode.EnlistmentNotificationCall,
             SR.TraceEnlistmentNotificationCall,
             s_record);
     }
 }
コード例 #5
0
 internal static void Trace(string traceSource, EnlistmentTraceIdentifier enTraceId, NotificationCall notCall)
 {
     lock (record)
     {
         record.traceSource = traceSource;
         record.enTraceId   = enTraceId;
         record.notCall     = notCall;
         DiagnosticTrace.TraceEvent(TraceEventType.Verbose,
                                    TransactionsTraceCode.EnlistmentNotificationCall,
                                    SR.GetString(SR.TraceEnlistmentNotificationCall),
                                    record);
     }
 }
コード例 #6
0
ファイル: TraceRecords.cs プロジェクト: wudilab/corefx
 internal static void Trace(string traceSource, EnlistmentTraceIdentifier enTraceId, NotificationCall notCall)
 {
     lock (s_record)
     {
         s_record._traceSource = traceSource;
         s_record._enTraceId   = enTraceId;
         s_record._notCall     = notCall;
         DiagnosticTrace.TraceEvent(TraceEventType.Verbose,
                                    TransactionsTraceCode.EnlistmentNotificationCall,
                                    SR.TraceEnlistmentNotificationCall,
                                    s_record);
     }
 }
 internal static void Trace(string traceSource, EnlistmentTraceIdentifier enTraceId, NotificationCall notCall)
 {
     lock (record)
     {
         record.traceSource = traceSource;
         record.enTraceId   = enTraceId;
         record.notCall     = notCall;
         DiagnosticTrace.TraceEvent(TraceEventType.Verbose, "http://msdn.microsoft.com/2004/06/System/Transactions/EnlistmentNotificationCall", System.Transactions.SR.GetString("TraceEnlistmentNotificationCall"), record);
     }
 }