3 writes to diagnosticTrace
System.Activities (3)
System\Activities\Tracking\EtwTrackingParticipant.cs (3)
132
this.
diagnosticTrace
= (EtwDiagnosticTrace)diagnosticTraceCache[providerId];
137
this.
diagnosticTrace
= (EtwDiagnosticTrace)diagnosticTraceCache[providerId];
140
this.
diagnosticTrace
= new EtwDiagnosticTrace(null, providerId);
61 references to diagnosticTrace
System.Activities (61)
System\Activities\Tracking\EtwTrackingParticipant.cs (61)
92
if (this.
diagnosticTrace
.IsEtwProviderEnabled)
133
if (this.
diagnosticTrace
== null)
138
if (this.
diagnosticTrace
== null)
141
diagnosticTraceCache.Add(providerId, this.
diagnosticTrace
);
289
if (EtwTrackingParticipantTrackRecords.ActivityStateRecordIsEnabled(this.
diagnosticTrace
))
291
if (!EtwTrackingParticipantTrackRecords.ActivityStateRecord(this.
diagnosticTrace
, record.EventTraceActivity, record.InstanceId,
299
if (EtwTrackingParticipantTrackRecords.ActivityStateRecord(this.
diagnosticTrace
, record.EventTraceActivity, record.InstanceId,
317
if (EtwTrackingParticipantTrackRecords.ActivityScheduledRecordIsEnabled(this.
diagnosticTrace
))
319
if (!EtwTrackingParticipantTrackRecords.ActivityScheduledRecord(this.
diagnosticTrace
, scheduledRecord.EventTraceActivity, scheduledRecord.InstanceId,
330
if (EtwTrackingParticipantTrackRecords.ActivityScheduledRecord(this.
diagnosticTrace
, scheduledRecord.EventTraceActivity, scheduledRecord.InstanceId,
353
if (EtwTrackingParticipantTrackRecords.CancelRequestedRecordIsEnabled(this.
diagnosticTrace
))
355
if (!EtwTrackingParticipantTrackRecords.CancelRequestedRecord(this.
diagnosticTrace
, cancelRecord.EventTraceActivity, cancelRecord.InstanceId,
366
if (EtwTrackingParticipantTrackRecords.CancelRequestedRecord(this.
diagnosticTrace
, cancelRecord.EventTraceActivity, cancelRecord.InstanceId,
389
if (EtwTrackingParticipantTrackRecords.FaultPropagationRecordIsEnabled(this.
diagnosticTrace
))
391
if (!EtwTrackingParticipantTrackRecords.FaultPropagationRecord(this.
diagnosticTrace
, faultRecord.EventTraceActivity, faultRecord.InstanceId,
403
if (EtwTrackingParticipantTrackRecords.FaultPropagationRecord(this.
diagnosticTrace
, faultRecord.EventTraceActivity, faultRecord.InstanceId,
427
if (EtwTrackingParticipantTrackRecords.BookmarkResumptionRecordIsEnabled(this.
diagnosticTrace
))
429
if (!EtwTrackingParticipantTrackRecords.BookmarkResumptionRecord(this.
diagnosticTrace
, record.EventTraceActivity, record.InstanceId, record.RecordNumber, record.EventTime.ToFileTime(),
435
if (EtwTrackingParticipantTrackRecords.BookmarkResumptionRecord(this.
diagnosticTrace
, record.EventTraceActivity, record.InstanceId, record.RecordNumber, record.EventTime.ToFileTime(),
455
if (EtwTrackingParticipantTrackRecords.CustomTrackingRecordErrorIsEnabled(this.
diagnosticTrace
))
457
if (!EtwTrackingParticipantTrackRecords.CustomTrackingRecordError(this.
diagnosticTrace
, record.EventTraceActivity, record.InstanceId,
464
if (EtwTrackingParticipantTrackRecords.CustomTrackingRecordError(this.
diagnosticTrace
, record.EventTraceActivity, record.InstanceId,
479
if (EtwTrackingParticipantTrackRecords.CustomTrackingRecordWarningIsEnabled(this.
diagnosticTrace
))
481
if (!EtwTrackingParticipantTrackRecords.CustomTrackingRecordWarning(this.
diagnosticTrace
, record.EventTraceActivity, record.InstanceId,
488
if (EtwTrackingParticipantTrackRecords.CustomTrackingRecordWarning(this.
diagnosticTrace
, record.EventTraceActivity, record.InstanceId,
504
if (EtwTrackingParticipantTrackRecords.CustomTrackingRecordInfoIsEnabled(this.
diagnosticTrace
))
506
if (!EtwTrackingParticipantTrackRecords.CustomTrackingRecordInfo(this.
diagnosticTrace
, record.EventTraceActivity, record.InstanceId,
513
if (EtwTrackingParticipantTrackRecords.CustomTrackingRecordInfo(this.
diagnosticTrace
, record.EventTraceActivity, record.InstanceId,
570
if (EtwTrackingParticipantTrackRecords.WorkflowInstanceUnhandledExceptionRecordIsEnabled(this.
diagnosticTrace
))
572
if (!EtwTrackingParticipantTrackRecords.WorkflowInstanceUnhandledExceptionRecord(this.
diagnosticTrace
, unhandled.EventTraceActivity, unhandled.InstanceId,
579
if (EtwTrackingParticipantTrackRecords.WorkflowInstanceUnhandledExceptionRecord(this.
diagnosticTrace
, unhandled.EventTraceActivity, unhandled.InstanceId,
596
if (EtwTrackingParticipantTrackRecords.WorkflowInstanceUnhandledExceptionRecordWithIdIsEnabled(this.
diagnosticTrace
))
598
if (!EtwTrackingParticipantTrackRecords.WorkflowInstanceUnhandledExceptionRecordWithId(this.
diagnosticTrace
, unhandled.EventTraceActivity, unhandled.InstanceId,
606
if (EtwTrackingParticipantTrackRecords.WorkflowInstanceUnhandledExceptionRecordWithId(this.
diagnosticTrace
, unhandled.EventTraceActivity, unhandled.InstanceId,
629
if (EtwTrackingParticipantTrackRecords.WorkflowInstanceAbortedRecordIsEnabled(this.
diagnosticTrace
))
631
if (!EtwTrackingParticipantTrackRecords.WorkflowInstanceAbortedRecord(this.
diagnosticTrace
, aborted.EventTraceActivity, aborted.InstanceId, aborted.RecordNumber,
636
if (EtwTrackingParticipantTrackRecords.WorkflowInstanceAbortedRecord(this.
diagnosticTrace
, aborted.EventTraceActivity, aborted.InstanceId, aborted.RecordNumber,
651
if (EtwTrackingParticipantTrackRecords.WorkflowInstanceAbortedRecordWithIdIsEnabled(this.
diagnosticTrace
))
653
if (!EtwTrackingParticipantTrackRecords.WorkflowInstanceAbortedRecordWithId(this.
diagnosticTrace
, aborted.EventTraceActivity, aborted.InstanceId, aborted.RecordNumber,
659
if (EtwTrackingParticipantTrackRecords.WorkflowInstanceAbortedRecordWithId(this.
diagnosticTrace
, aborted.EventTraceActivity, aborted.InstanceId, aborted.RecordNumber,
680
if (EtwTrackingParticipantTrackRecords.WorkflowInstanceSuspendedRecordIsEnabled(this.
diagnosticTrace
))
682
if (!EtwTrackingParticipantTrackRecords.WorkflowInstanceSuspendedRecord(this.
diagnosticTrace
, suspended.EventTraceActivity, suspended.InstanceId, suspended.RecordNumber,
687
if (EtwTrackingParticipantTrackRecords.WorkflowInstanceSuspendedRecord(this.
diagnosticTrace
, suspended.EventTraceActivity, suspended.InstanceId, suspended.RecordNumber,
702
if (EtwTrackingParticipantTrackRecords.WorkflowInstanceSuspendedRecordWithIdIsEnabled(this.
diagnosticTrace
))
704
if (!EtwTrackingParticipantTrackRecords.WorkflowInstanceSuspendedRecordWithId(this.
diagnosticTrace
, suspended.EventTraceActivity, suspended.InstanceId, suspended.RecordNumber,
710
if (EtwTrackingParticipantTrackRecords.WorkflowInstanceSuspendedRecordWithId(this.
diagnosticTrace
, suspended.EventTraceActivity, suspended.InstanceId, suspended.RecordNumber,
731
if (EtwTrackingParticipantTrackRecords.WorkflowInstanceTerminatedRecordIsEnabled(this.
diagnosticTrace
))
733
if (!EtwTrackingParticipantTrackRecords.WorkflowInstanceTerminatedRecord(this.
diagnosticTrace
, terminated.EventTraceActivity, terminated.InstanceId, terminated.RecordNumber,
738
if (EtwTrackingParticipantTrackRecords.WorkflowInstanceTerminatedRecord(this.
diagnosticTrace
, terminated.EventTraceActivity, terminated.InstanceId, terminated.RecordNumber,
753
if (EtwTrackingParticipantTrackRecords.WorkflowInstanceTerminatedRecordWithIdIsEnabled(this.
diagnosticTrace
))
755
if (!EtwTrackingParticipantTrackRecords.WorkflowInstanceTerminatedRecordWithId(this.
diagnosticTrace
, terminated.EventTraceActivity, terminated.InstanceId, terminated.RecordNumber,
761
if (EtwTrackingParticipantTrackRecords.WorkflowInstanceTerminatedRecordWithId(this.
diagnosticTrace
, terminated.EventTraceActivity, terminated.InstanceId, terminated.RecordNumber,
781
if (EtwTrackingParticipantTrackRecords.WorkflowInstanceRecordIsEnabled(this.
diagnosticTrace
))
783
if (!EtwTrackingParticipantTrackRecords.WorkflowInstanceRecord(this.
diagnosticTrace
, record.EventTraceActivity, record.InstanceId, record.RecordNumber,
789
if (EtwTrackingParticipantTrackRecords.WorkflowInstanceRecord(this.
diagnosticTrace
, record.EventTraceActivity, record.InstanceId, record.RecordNumber, record.EventTime.ToFileTime(),
803
if (EtwTrackingParticipantTrackRecords.WorkflowInstanceRecordWithIdIsEnabled(this.
diagnosticTrace
))
805
if (!EtwTrackingParticipantTrackRecords.WorkflowInstanceRecordWithId(this.
diagnosticTrace
, record.EventTraceActivity, record.InstanceId, record.RecordNumber,
812
if (EtwTrackingParticipantTrackRecords.WorkflowInstanceRecordWithId(this.
diagnosticTrace
, record.EventTraceActivity, record.InstanceId, record.RecordNumber, record.EventTime.ToFileTime(),
829
if (EtwTrackingParticipantTrackRecords.WorkflowInstanceUpdatedRecordIsEnabled(this.
diagnosticTrace
))
832
if (!EtwTrackingParticipantTrackRecords.WorkflowInstanceUpdatedRecord(this.
diagnosticTrace
, updatedRecord.EventTraceActivity, updatedRecord.InstanceId,
839
if (EtwTrackingParticipantTrackRecords.WorkflowInstanceUpdatedRecord(this.
diagnosticTrace
, updatedRecord.EventTraceActivity, updatedRecord.InstanceId,