19 references to InstanceMetadataChanges
System.Activities (1)
System\Activities\WorkflowApplication.cs (1)
5932
saveCommand.
InstanceMetadataChanges
.Add(value);
System.Activities.DurableInstancing (10)
System\Activities\DurableInstancing\SaveWorkflowAsyncResult.cs (8)
165
foreach (KeyValuePair<XName, InstanceValue> property in saveWorkflowCommand.
InstanceMetadataChanges
)
260
IDictionary<XName, InstanceValue> instanceMetadataChanges = saveWorkflowCommand.
InstanceMetadataChanges
;
290
if (saveWorkflowCommand.
InstanceMetadataChanges
.TryGetValue(WorkflowNamespace.WorkflowHostType, out instanceValue))
394
if (saveWorkflowCommand.
InstanceMetadataChanges
.TryGetValue(PersistenceMetadataNamespace.ActivationType, out instanceValue))
398
if (saveWorkflowCommand.
InstanceMetadataChanges
.TryGetValue(WorkflowServiceNamespace.Service, out instanceValue))
403
if (saveWorkflowCommand.
InstanceMetadataChanges
.TryGetValue(WorkflowServiceNamespace.SiteName, out instanceValue))
407
if (saveWorkflowCommand.
InstanceMetadataChanges
.TryGetValue(WorkflowServiceNamespace.RelativeApplicationPath, out instanceValue))
411
if (saveWorkflowCommand.
InstanceMetadataChanges
.TryGetValue(WorkflowServiceNamespace.RelativeServicePath, out instanceValue))
System\Activities\DurableInstancing\SerializationUtilities.cs (2)
127
foreach (KeyValuePair<XName, InstanceValue> metadataChange in saveWorkflowCommand.
InstanceMetadataChanges
)
346
if (saveCommand.
InstanceMetadataChanges
.TryGetValue(Workflow45Namespace.DefinitionIdentity, out instanceValue))
System.ServiceModel.Activities (8)
System\ServiceModel\Activities\Dispatcher\PersistenceContext.cs (8)
698
saveCommand.
InstanceMetadataChanges
.Add(pair.Key, pair.Value);
711
saveCommand.
InstanceMetadataChanges
.Add(Workflow45Namespace.DefinitionIdentity, new InstanceValue(this.workflowInstance.DefinitionIdentity, InstanceValueOptions.None));
715
saveCommand.
InstanceMetadataChanges
.Add(Workflow45Namespace.DefinitionIdentity, InstanceValue.DeletedValue);
816
saveCommand.
InstanceMetadataChanges
.Add(WorkflowServiceNamespace.SuspendReason, new InstanceValue(this.persistenceContext.SuspendedReason));
820
saveCommand.
InstanceMetadataChanges
.Add(WorkflowServiceNamespace.SuspendReason, InstanceValue.DeletedValue);
821
saveCommand.
InstanceMetadataChanges
.Add(WorkflowServiceNamespace.SuspendException, InstanceValue.DeletedValue);
1347
saveCommand.
InstanceMetadataChanges
[WorkflowServiceNamespace.SuspendReason] = new InstanceValue(reason.Message);
1348
saveCommand.
InstanceMetadataChanges
[WorkflowServiceNamespace.SuspendException] = new InstanceValue(reason, InstanceValueOptions.WriteOnly | InstanceValueOptions.Optional);