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); } }
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()); } }
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); } }
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, TransactionsTraceCode.EnlistmentNotificationCall, SR.GetString(SR.TraceEnlistmentNotificationCall), record); } }