2 types derived from WorkflowPersistenceService
System.Workflow.Runtime (1)
Hosting\SqlWorkflowPersistenceService.cs (1)
672public class SqlWorkflowPersistenceService : WorkflowPersistenceService, IPendingWork
System.WorkflowServices (1)
System\ServiceModel\Description\WorkflowServiceBehavior.cs (1)
407class SkipUnloadOnFirstIdleWorkflowPersistenceService : WorkflowPersistenceService
23 references to WorkflowPersistenceService
System.Workflow.Runtime (18)
Hosting\SqlWorkflowPersistenceService.cs (7)
983WorkflowStatus workflowStatus = WorkflowPersistenceService.GetWorkflowStatus(rootActivity); 984bool isInstanceBlocked = WorkflowPersistenceService.GetIsBlocked(rootActivity); 985string instanceInfo = WorkflowPersistenceService.GetSuspendOrTerminateInfo(rootActivity); 992item.SerializedActivity = WorkflowPersistenceService.GetDefaultSerializedForm(rootActivity); 1027return WorkflowPersistenceService.RestoreFromDefaultSerializedForm(state, null); 1056item.SerializedActivity = WorkflowPersistenceService.GetDefaultSerializedForm(completedScopeActivity); 1068return WorkflowPersistenceService.RestoreFromDefaultSerializedForm(state, outerActivity);
WorkflowExecutor.cs (4)
815WorkflowPersistenceService persistence = this.WorkflowRuntime.WorkflowPersistenceService; 1043WorkflowPersistenceService persistence = this.WorkflowRuntime.WorkflowPersistenceService; 1828WorkflowPersistenceService persistenceSvc = this.WorkflowRuntime.WorkflowPersistenceService; 3027if (persistOnClose && this.WorkflowRuntime.GetService<WorkflowPersistenceService>() == null)
WorkflowInstance.cs (1)
208if (_runtime == null || _runtime.GetService<WorkflowPersistenceService>() == null)
WorkflowRuntime.cs (6)
315internal WorkflowPersistenceService WorkflowPersistenceService 319return (WorkflowPersistenceService)GetService(typeof(WorkflowPersistenceService)); 1031|| service is WorkflowPersistenceService 1145if (GetAllServices(typeof(WorkflowPersistenceService)).Count > 1) 1148typeof(WorkflowPersistenceService).Name));
System.WorkflowServices (5)
System\ServiceModel\Description\WorkflowRuntimeBehavior.cs (1)
108this.WorkflowRuntime.GetService<WorkflowPersistenceService>() != null);
System\ServiceModel\Description\WorkflowServiceBehavior.cs (4)
237WorkflowPersistenceService persistenceService = workflowRuntimeBehavior.WorkflowRuntime.GetService<WorkflowPersistenceService>(); 409WorkflowPersistenceService inner; 411public SkipUnloadOnFirstIdleWorkflowPersistenceService(WorkflowPersistenceService inner)