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);