4 writes to handle
System.Activities (4)
System\Activities\WorkflowApplication.cs (4)
5568this.handle = store.CreateInstanceHandle(this.owner, instanceId); 5586this.handle = store.CreateInstanceHandle(this.owner); 5676this.handle = this.isTryLoad ? this.store.CreateInstanceHandle(this.owner) : this.store.CreateInstanceHandle(this.owner, InstanceId); 5745this.handle = this.isTryLoad ? this.store.CreateInstanceHandle(this.owner) : this.store.CreateInstanceHandle(this.owner, InstanceId);
21 references to handle
System.Activities (21)
System\Activities\WorkflowApplication.cs (21)
5612return (this.handle != null); 5661Fx.Assert(this.handle == null, "We are already initialized by now"); 5681this.handle.Free(); 5710Fx.Assert(this.handle == null, "We are already initialized by now"); 5749this.handle.Free(); 5810Fx.Assert(this.handle != null, "We should already be initialized by now"); 5816this.store.Execute(this.handle, CreateSaveCommand(null, this.instanceMetadata, PersistenceOperation.Save), timeout); 5823Fx.Assert(this.handle != null, "We should already be initialized by now"); 5829return this.store.BeginExecute(this.handle, CreateSaveCommand(null, this.instanceMetadata, PersistenceOperation.Save), timeout, callback, state); 5949if (!this.handle.IsValid) 5960this.store.Execute(this.handle, CreateSaveCommand(instance, (this.isLocked ? this.mutableMetadata : this.instanceMetadata), operation), timeout); 5966InstanceView view = this.store.Execute(this.handle, new LoadWorkflowCommand(), timeout); 5969if (!this.handle.IsValid) 5979InstanceView view = this.store.Execute(this.handle, new TryLoadRunnableWorkflowCommand(), timeout); 5985return this.store.BeginExecute(this.handle, CreateSaveCommand(instance, (this.isLocked ? this.mutableMetadata : this.instanceMetadata), operation), timeout, callback, state); 5996return this.store.BeginExecute(this.handle, new LoadWorkflowCommand(), timeout, callback, state); 6004if (!this.handle.IsValid) 6014return this.store.BeginExecute(this.handle, new TryLoadRunnableWorkflowCommand(), timeout, callback, state); 6030InstanceHandle handle = this.handle; 6046this.store.Execute(this.handle, saveCmd, timeout); 6056return this.store.BeginExecute(this.handle, saveCmd, timeout, callback, state);