3 writes to Value
System.Runtime.DurableInstancing (3)
System\Runtime\DurableInstancing\InstanceKey.cs (3)
24
this.
Value
= Guid.Empty;
40
this.
Value
= value;
125
this.
Value
= value;
53 references to Value
System.Runtime.DurableInstancing (11)
System\Runtime\DurableInstancing\InstanceKey.cs (4)
101
return this.
Value
.Equals(((InstanceKey)obj).
Value
);
106
return this.
Value
.GetHashCode();
115
return this.
Value
;
System\Runtime\DurableInstancing\InstanceKeyCollisionException.cs (3)
71
info.AddValue(InstanceKeyName, (InstanceKey != null && InstanceKey.IsValid) ? InstanceKey.
Value
: Guid.Empty, typeof(Guid));
80
return SRCore.KeyCollisionSpecific(instanceId, instanceKey.
Value
, conflictingInstanceId);
82
return SRCore.KeyCollisionSpecificKeyOnly(instanceKey.
Value
);
System\Runtime\DurableInstancing\InstanceKeyCompleteException.cs (2)
65
info.AddValue(InstanceKeyName, (InstanceKey != null && InstanceKey.IsValid) ? InstanceKey.
Value
: Guid.Empty, typeof(Guid));
72
return SRCore.KeyCompleteSpecific(instanceKey.
Value
);
System\Runtime\DurableInstancing\InstanceKeyNotReadyException.cs (2)
65
info.AddValue(InstanceKeyName, (InstanceKey != null && InstanceKey.IsValid) ? InstanceKey.
Value
: Guid.Empty, typeof(Guid));
72
return SRCore.KeyNotReadySpecific(instanceKey.
Value
);
System.ServiceModel.Activities (42)
System\ServiceModel\Activities\CorrelationHandle.cs (8)
273
if (this.InstanceKey != null && this.InstanceKey.
Value
!= instanceKey.
Value
)
276
new InvalidOperationException(SR.CorrelationHandleInUse(this.InstanceKey.
Value
, instanceKey.
Value
)));
284
this.bookmarkScopeHandle.CreateBookmarkScope(context, instanceKey.
Value
);
291
if (this.Scope.Id != instanceKey.
Value
)
294
new InvalidOperationException(SR.CorrelationHandleInUse(this.Scope.Id, instanceKey.
Value
)));
299
this.Scope.Initialize(context, instanceKey.
Value
);
System\ServiceModel\Activities\Description\WorkflowOperationBehavior.cs (1)
114
bookmarkScope = new BookmarkScope(correlationMessageProperty.CorrelationKey.
Value
);
System\ServiceModel\Activities\Dispatcher\CorrelationKeyCalculator.cs (1)
211
TD.TraceCorrelationKeys(instanceKey.
Value
, keyValueAsString.ToString(), this.parent.scopeName.ToString());
System\ServiceModel\Activities\Dispatcher\PersistenceContext.cs (6)
825
saveCommand.InstanceKeysToAssociate.Add(key.
Value
, key.Metadata);
830
saveCommand.InstanceKeysToComplete.Add(key.
Value
);
831
saveCommand.InstanceKeysToFree.Add(key.
Value
);
1244
saveCommand.InstanceKeysToAssociate.Add(key.
Value
, key.Metadata);
1251
saveCommand.InstanceKeysToComplete.Add(key.
Value
);
1252
saveCommand.InstanceKeysToFree.Add(key.
Value
);
System\ServiceModel\Activities\Dispatcher\PersistenceProviderDirectory.cs (21)
160
if (key.
Value
== Guid.Empty)
200
if (key.
Value
== Guid.Empty)
298
if (this.keyMap.TryGetValue(instanceKey.
Value
, out context))
320
if (this.keyMap.TryGetValue(instanceKey.
Value
, out context))
354
if (!context.AssociatedKeys.Contains(key) && this.keyMap.TryGetValue(key.
Value
, out conflictingContext))
377
if (this.keyMap.TryGetValue(key.
Value
, out contextToAbort))
382
this.keyMap.Add(key.
Value
, context);
416
Fx.Assert(this.keyMap[key.
Value
] == context, "Context's keys must be in the map.");
417
this.keyMap.Remove(key.
Value
);
493
this.keyMap.TryGetValue(key.
Value
, out foundContext);
523
LookupInstanceKey = key.
Value
,
532
LookupInstanceKey = key.
Value
,
577
if (instanceKeysToAssociate.ContainsKey(keyToAdd.
Value
))
579
throw FxTrace.Exception.AsError(new InvalidOperationException(SR.DuplicateInstanceKeyExists(keyToAdd.
Value
)));
581
instanceKeysToAssociate.Add(keyToAdd.
Value
, keyToAdd.Metadata);
602
Fx.Assert(this.keyMap[key.
Value
] == contextToAbort, "Context's key must be in the map.");
603
this.keyMap.Remove(key.
Value
);
1222
this.ppd.keyMap.TryGetValue(this.key.
Value
, out this.result);
1235
if (this.ppd.keyMap.TryGetValue(instanceKey.
Value
, out conflictingContext))
1269
if (this.ppd.keyMap.TryGetValue(loadedKey.
Value
, out contextToAbort))
1274
this.ppd.keyMap.Add(loadedKey.
Value
, this.context);
System\ServiceModel\Activities\MessagingActivityHelper.cs (3)
135
if (context.DefaultBookmarkScope.Id != instanceKey.
Value
)
138
new InvalidOperationException(SR2.CorrelationHandleInUse(context.DefaultBookmarkScope.Id, instanceKey.
Value
)));
143
context.DefaultBookmarkScope.Initialize(context, instanceKey.
Value
);
System\ServiceModel\Activities\SerializableInstanceKey.cs (1)
22
this.value = instanceKey.
Value
;
System\ServiceModel\Activities\WorkflowHostingEndpoint.cs (1)
131
bookmarkScope = new BookmarkScope(correlationMessageProperty.CorrelationKey.
Value
);