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