2 writes to _serviceInstanceId
System.Workflow.Runtime (2)
Hosting\SqlWorkflowPersistenceService.cs (2)
765
_serviceInstanceId
= Guid.NewGuid();
813
_serviceInstanceId
= Guid.NewGuid();
16 references to _serviceInstanceId
System.Workflow.Runtime (16)
Hosting\SqlWorkflowPersistenceService.cs (16)
705
return
_serviceInstanceId
;
820
WorkflowTrace.Host.TraceEvent(TraceEventType.Information, 0, "SqlWorkflowPersistenceService({1}): Starting, LoadInternalSeconds={0}", loadingInterval.TotalSeconds,
_serviceInstanceId
.ToString());
866
WorkflowTrace.Host.TraceEvent(TraceEventType.Information, 0, "SqlWorkflowPersistenceService({0}): Stopping",
_serviceInstanceId
.ToString());
882
if (Guid.Empty ==
_serviceInstanceId
)
889
instanceIds = persistenceDBAccessor.RetrieveNonblockingInstanceStateIds(
_serviceInstanceId
, OwnershipTimeout);
911
while (persistenceDBAccessor.TryRetrieveANonblockingInstanceStateId(
_serviceInstanceId
, OwnershipTimeout, out instanceId))
948
WorkflowTrace.Host.TraceEvent(TraceEventType.Information, 0, "SqlWorkflowPersistenceService({1}): Loading instance with expired timers {0}", id,
_serviceInstanceId
.ToString());
1007
WorkflowTrace.Host.TraceEvent(TraceEventType.Information, 0, "SqlWorkflowPersistenceService({4}):Committing instance {0}, Blocked={1}, Unlocked={2}, NextTimer={3}", contextGuid.ToString(), item.Blocked, item.Unlocked, item.NextTimer.Value.ToLocalTime(),
_serviceInstanceId
.ToString());
1018
WorkflowTrace.Host.TraceEvent(TraceEventType.Information, 0, "SqlWorkflowPersistenceService({0}):Unlocking instance {1}",
_serviceInstanceId
.ToString(), item.InstanceId.ToString());
1025
WorkflowTrace.Host.TraceEvent(TraceEventType.Information, 0, "SqlWorkflowPersistenceService({0}):Loading instance {1}",
_serviceInstanceId
.ToString(), id.ToString());
1026
byte[] state = persistenceDBAccessor.RetrieveInstanceState(id,
_serviceInstanceId
, OwnershipTimeout);
1048
return persistenceDBAccessor.RetrieveExpiredTimerIds(
_serviceInstanceId
, OwnershipTimeout);
1115
persistenceDBAccessor.InsertInstanceState(item,
_serviceInstanceId
, OwnershipTimeout);
1123
persistenceDBAccessor.ActivationComplete(item.InstanceId,
_serviceInstanceId
);
1135
WorkflowTrace.Runtime.TraceEvent(TraceEventType.Error, 0, "SqlWorkflowPersistenceService({1})Exception thrown while persisting instance: {0}", se.Message,
_serviceInstanceId
.ToString());
1151
WorkflowTrace.Runtime.TraceEvent(TraceEventType.Error, 0, "SqlWorkflowPersistenceService({1}): Exception thrown while persisting instance: {0}", e.Message,
_serviceInstanceId
.ToString());