19 references to InstanceState
System.Activities.DurableInstancing (2)
System\Activities\DurableInstancing\LoadWorkflowAsyncResult.cs (2)
172
isInitialized ?
InstanceState
.Initialized :
InstanceState
.Uninitialized,
System.Runtime.DurableInstancing (15)
System\Runtime\DurableInstancing\InstancePersistenceContext.cs (14)
287
InstanceView.InstanceState =
InstanceState
.Initialized;
290
public void LoadedInstance(
InstanceState
state, IDictionary<XName, InstanceValue> instanceData, IDictionary<XName, InstanceValue> instanceMetadata, IDictionary<Guid, IDictionary<XName, InstanceValue>> associatedInstanceKeyMetadata, IDictionary<Guid, IDictionary<XName, InstanceValue>> completedInstanceKeyMetadata)
292
if (state ==
InstanceState
.Uninitialized)
299
else if (state ==
InstanceState
.Completed)
306
else if (state !=
InstanceState
.Initialized)
313
InstanceValueConsistency consistency = InstanceView.IsBoundToLock || state ==
InstanceState
.Completed ? InstanceValueConsistency.None : InstanceValueConsistency.InDoubt;
377
InstanceView.InstanceState =
InstanceState
.Completed;
393
InstanceView.InstanceMetadataConsistency = InstanceView.IsBoundToLock || InstanceView.InstanceState ==
InstanceState
.Completed ? InstanceValueConsistency.None : InstanceValueConsistency.InDoubt;
397
if ((InstanceView.IsBoundToLock || InstanceView.InstanceState ==
InstanceState
.Completed) && (InstanceView.InstanceMetadataConsistency & InstanceValueConsistency.InDoubt) != 0)
556
if (!InstanceView.IsBoundToLock && InstanceView.InstanceState !=
InstanceState
.Completed)
573
keyView.InstanceKeyMetadataConsistency = InstanceView.IsBoundToLock || InstanceView.InstanceState ==
InstanceState
.Completed ? InstanceValueConsistency.None : InstanceValueConsistency.InDoubt;
577
if ((InstanceView.IsBoundToLock || InstanceView.InstanceState ==
InstanceState
.Completed) && (keyView.InstanceKeyMetadataConsistency & InstanceValueConsistency.InDoubt) != 0)
879
if (InstanceView.IsBoundToLock && InstanceView.InstanceState ==
InstanceState
.Completed)
887
if (InstanceView.IsBoundToLock && InstanceView.InstanceState ==
InstanceState
.Uninitialized)
System\Runtime\DurableInstancing\InstanceView.cs (1)
111
public
InstanceState
InstanceState { get; internal set; }
System.ServiceModel.Activities (2)
System\ServiceModel\Activities\Dispatcher\PersistenceProviderDirectory.cs (2)
1040
if (thisPtr.view.InstanceState ==
InstanceState
.Unknown)
1051
thisPtr.isInstanceInitialized = thisPtr.view.InstanceState !=
InstanceState
.Uninitialized;