2 writes to workflowServiceInstance
System.ServiceModel.Activities (2)
System\ServiceModel\Activities\Dispatcher\ControlOperationInvoker.cs (2)
358
thisPtr.
workflowServiceInstance
= null;
485
thisPtr.
workflowServiceInstance
= thisPtr.invoker.instanceManager.EndGetInstance(result);
25 references to workflowServiceInstance
System.ServiceModel.Activities (25)
System\ServiceModel\Activities\Dispatcher\ControlOperationInvoker.cs (25)
355
if (thisPtr.
workflowServiceInstance
!= null)
357
thisPtr.
workflowServiceInstance
.ReleaseReference();
565
result = this.
workflowServiceInstance
.BeginSuspend(false, (string)this.inputs[1] ?? SR.DefaultSuspendReason,
571
result = this.
workflowServiceInstance
.BeginUnsuspend(this.transaction, this.timeoutHelper.RemainingTime(),
576
result = this.
workflowServiceInstance
.BeginTerminate((string)this.inputs[1] ?? SR.DefaultTerminationReason,
582
result = this.
workflowServiceInstance
.BeginRun(this.transaction, this.timeoutHelper.RemainingTime(),
587
result = this.
workflowServiceInstance
.BeginCancel(this.transaction,
592
result = this.
workflowServiceInstance
.BeginAbandon(
599
if (!object.Equals(identity, this.
workflowServiceInstance
.DefinitionIdentity))
602
OperationExecutionFault.CreateUpdateFailedFault(SR.CannotUpdateLoadedInstance(this.
workflowServiceInstance
.Id))));
604
if (this.
workflowServiceInstance
.IsActive)
606
result = this.
workflowServiceInstance
.BeginRun(this.transaction, this.invoker.operationName, this.timeoutHelper.RemainingTime(),
636
result = this.invoker.OnBeginServiceOperation(this.
workflowServiceInstance
, this.operationContext,
676
thisPtr.
workflowServiceInstance
.EndSuspend(result);
680
thisPtr.
workflowServiceInstance
.EndUnsuspend(result);
684
thisPtr.
workflowServiceInstance
.EndTerminate(result);
688
thisPtr.
workflowServiceInstance
.EndRun(result);
692
thisPtr.
workflowServiceInstance
.EndCancel(result);
695
thisPtr.
workflowServiceInstance
.EndAbandon(result);
705
thisPtr.
workflowServiceInstance
.EndRun(result);
721
thisPtr.returnValue = thisPtr.invoker.OnEndServiceOperation(thisPtr.
workflowServiceInstance
, out thisPtr.outputs, result);
932
IAsyncResult result = this.control.
workflowServiceInstance
.BeginRun(this.control.transaction, this.timeoutHelper.RemainingTime(),
940
thisPtr.control.
workflowServiceInstance
.EndRun(result);
946
IAsyncResult result = this.control.
workflowServiceInstance
.BeginSuspend(false, SR.DefaultCreateOnlyReason,
954
thisPtr.control.
workflowServiceInstance
.EndSuspend(result);