1 write to DefinitionIdentity
System.Activities (1)
System\Activities\Hosting\WorkflowInstance.cs (1)
78
this.
DefinitionIdentity
= definitionIdentity;
35 references to DefinitionIdentity
System.Activities (23)
System\Activities\Hosting\WorkflowInstance.cs (9)
307
this.executor.WorkflowIdentity = this.
DefinitionIdentity
;
341
this.TrackingProvider.AddRecord(new WorkflowInstanceUpdatedRecord(this.Id, this.WorkflowDefinition.DisplayName, originalDefinitionIdentity, this.
DefinitionIdentity
, blockingActivities));
550
this.controller.Track(new WorkflowInstanceUnhandledExceptionRecord(this.Id, this.WorkflowDefinition.DisplayName, faultSourceInfo, exception, this.
DefinitionIdentity
));
632
this.controller.Track(new WorkflowInstanceAbortedRecord(this.Id, this.WorkflowDefinition.DisplayName, message, this.
DefinitionIdentity
));
704
this.controller.Track(new WorkflowInstanceTerminatedRecord(this.Id, this.WorkflowDefinition.DisplayName, this.executor.TerminationException.Message, this.
DefinitionIdentity
));
708
this.controller.Track(new WorkflowInstanceRecord(this.Id, this.WorkflowDefinition.DisplayName, WorkflowInstanceStates.Completed, this.
DefinitionIdentity
));
713
this.controller.Track(new WorkflowInstanceRecord(this.Id, this.WorkflowDefinition.DisplayName, WorkflowInstanceStates.Canceled, this.
DefinitionIdentity
));
728
this.TrackingProvider.AddRecord(new WorkflowInstanceRecord(this.Id, this.WorkflowDefinition.DisplayName, WorkflowInstanceStates.Started, this.
DefinitionIdentity
));
733
this.TrackingProvider.AddRecord(new WorkflowInstanceRecord(this.Id, this.WorkflowDefinition.DisplayName, WorkflowInstanceStates.Resumed, this.
DefinitionIdentity
));
System\Activities\Runtime\ActivityExecutor.cs (3)
119
this.WorkflowIdentity = host.
DefinitionIdentity
;
1766
if (!object.Equals(workflowInstance.
DefinitionIdentity
, this.WorkflowIdentity))
1768
throw FxTrace.Exception.AsError(new VersionMismatchException(workflowInstance.
DefinitionIdentity
, this.WorkflowIdentity));
System\Activities\WorkflowApplication.cs (11)
1853
this.persistenceManager.Initialize(this.
DefinitionIdentity
, timeoutHelper.RemainingTime());
2271
this.Controller.Track(new WorkflowInstanceRecord(this.Id, this.WorkflowDefinition.DisplayName, WorkflowInstanceStates.Deleted, this.
DefinitionIdentity
));
2275
this.Controller.Track(new WorkflowInstanceRecord(this.Id, this.WorkflowDefinition.DisplayName, WorkflowInstanceStates.Unloaded, this.
DefinitionIdentity
));
2279
this.Controller.Track(new WorkflowInstanceRecord(this.Id, this.WorkflowDefinition.DisplayName, WorkflowInstanceStates.Persisted, this.
DefinitionIdentity
));
2290
this.persistenceManager.Initialize(this.
DefinitionIdentity
, timeoutHelper.RemainingTime());
2868
if (this.
DefinitionIdentity
!= null)
2879
new InstanceValue(this.
DefinitionIdentity
, InstanceValueOptions.Optional);
2889
{ Workflow45Namespace.DefinitionIdentity, new InstanceValue(this.
DefinitionIdentity
, InstanceValueOptions.Optional) }
3593
IAsyncResult result = this.instance.persistenceManager.BeginInitialize(this.instance.
DefinitionIdentity
, this.timeoutHelper.RemainingTime(),
4483
WorkflowIdentity definitionIdentity = this.application != null ? this.application.
DefinitionIdentity
: WorkflowApplication.unknownIdentity;
4966
instance.Controller.Track(new WorkflowInstanceRecord(instance.Id, instance.WorkflowDefinition.DisplayName, WorkflowInstanceStates.Idle, instance.
DefinitionIdentity
));
System.ServiceModel.Activities (12)
System\ServiceModel\Activities\Dispatcher\ControlOperationInvoker.cs (1)
599
if (!object.Equals(identity, this.workflowServiceInstance.
DefinitionIdentity
))
System\ServiceModel\Activities\Dispatcher\PersistenceContext.cs (3)
700
saveIdentity = this.workflowInstance.
DefinitionIdentity
!= null;
709
if (this.workflowInstance.
DefinitionIdentity
!= null)
711
saveCommand.InstanceMetadataChanges.Add(Workflow45Namespace.DefinitionIdentity, new InstanceValue(this.workflowInstance.
DefinitionIdentity
, InstanceValueOptions.None));
System\ServiceModel\Activities\Dispatcher\WorkflowServiceInstance.cs (8)
1285
this.Controller.Track(new WorkflowInstanceRecord(this.Id, this.WorkflowDefinition.DisplayName, WorkflowInstanceStates.Idle, this.
DefinitionIdentity
));
1505
this.Controller.Track(new WorkflowInstanceRecord(this.Id, this.WorkflowDefinition.DisplayName, WorkflowInstanceStates.Deleted, this.
DefinitionIdentity
));
1510
this.Controller.Track(new WorkflowInstanceRecord(this.Id, this.WorkflowDefinition.DisplayName, WorkflowInstanceStates.Unloaded, this.
DefinitionIdentity
));
1515
this.Controller.Track(new WorkflowInstanceRecord(this.Id, this.WorkflowDefinition.DisplayName, WorkflowInstanceStates.Persisted, this.
DefinitionIdentity
));
4403
this.Instance.Controller.Track(new WorkflowInstanceRecord(this.Instance.Id, this.Instance.WorkflowDefinition.DisplayName, WorkflowInstanceStates.Unloaded, this.Instance.
DefinitionIdentity
));
4496
this.Instance.Controller.Track(new WorkflowInstanceSuspendedRecord(this.Instance.Id, this.Instance.WorkflowDefinition.DisplayName, data.reason.Message, this.Instance.
DefinitionIdentity
));
4702
thisPtr.parent.Instance.Controller.Track(new WorkflowInstanceSuspendedRecord(thisPtr.parent.Instance.Id, thisPtr.parent.Instance.WorkflowDefinition.DisplayName, thisPtr.parent.reason, thisPtr.parent.Instance.
DefinitionIdentity
));
4763
this.Instance.Controller.Track(new WorkflowInstanceRecord(this.Instance.Id, this.Instance.WorkflowDefinition.DisplayName, WorkflowInstanceStates.Unsuspended, this.Instance.
DefinitionIdentity
));