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