27 references to TrackingProvider
System.Activities (27)
System\Activities\Hosting\WorkflowInstance.cs (10)
331if (this.HasTrackingParticipant && this.TrackingProvider.ShouldTrackWorkflowInstanceRecords) 341this.TrackingProvider.AddRecord(new WorkflowInstanceUpdatedRecord(this.Id, this.WorkflowDefinition.DisplayName, originalDefinitionIdentity, this.DefinitionIdentity, blockingActivities)); 495this.TrackingProvider.FlushPendingRecords(timeout); 503return this.TrackingProvider.BeginFlushPendingRecords(timeout, callback, state); 515this.TrackingProvider.EndFlushPendingRecords(result); 728this.TrackingProvider.AddRecord(new WorkflowInstanceRecord(this.Id, this.WorkflowDefinition.DisplayName, WorkflowInstanceStates.Started, this.DefinitionIdentity)); 733this.TrackingProvider.AddRecord(new WorkflowInstanceRecord(this.Id, this.WorkflowDefinition.DisplayName, WorkflowInstanceStates.Resumed, this.DefinitionIdentity)); 823return this.instance.HasTrackingParticipant && this.instance.TrackingProvider.HasPendingRecords; 831return this.instance.HasTrackingParticipant && this.instance.TrackingProvider.ShouldTrackWorkflowInstanceRecords; 1109this.instance.TrackingProvider.AddRecord(instanceRecord);
System\Activities\Runtime\ActivityExecutor.cs (17)
236return this.host.HasTrackingParticipant && this.host.TrackingProvider.HasPendingRecords; 244return this.host.HasTrackingParticipant && this.host.TrackingProvider.ShouldTrack; 252return this.host.HasTrackingParticipant && this.host.TrackingProvider.ShouldTrackBookmarkResumptionRecords; 260return this.host.HasTrackingParticipant && this.host.TrackingProvider.ShouldTrackActivityScheduledRecords; 268return this.host.HasTrackingParticipant && this.host.TrackingProvider.ShouldTrackActivityStateRecords; 276return this.host.HasTrackingParticipant && this.host.TrackingProvider.ShouldTrackActivityStateRecordsExecutingState; 284return this.host.HasTrackingParticipant && this.host.TrackingProvider.ShouldTrackActivityStateRecordsClosedState; 292return this.host.HasTrackingParticipant && this.host.TrackingProvider.ShouldTrackCancelRequestedRecords; 300return this.host.HasTrackingParticipant && this.host.TrackingProvider.ShouldTrackFaultPropagationRecords; 983Fx.Assert(this.host.TrackingProvider != null, "We should only add records if we have a tracking provider."); 985this.host.TrackingProvider.AddRecord(record); 990Fx.Assert(this.host.TrackingProvider != null, "We should only add records if we have a tracking provider."); 991return this.host.TrackingProvider.ShouldTrackActivity(name); 996Fx.Assert(this.host.TrackingProvider != null, "We should only try to track if we have a tracking provider."); 1002Fx.Assert(this.host.TrackingProvider != null, "We should only try to track if we have a tracking provider."); 1785this.host.TrackingProvider.OnDeserialized(this.nextTrackingRecordNumber); 2484this.nextTrackingRecordNumber = this.host.TrackingProvider.NextTrackingRecordNumber;