3 writes to IsCancellationRequested
System.Activities (3)
System\Activities\Runtime\ActivityExecutor.cs (3)
1312
this.rootInstance.
IsCancellationRequested
= true;
1590
this.rootInstance.
IsCancellationRequested
= true;
1635
activityInstance.
IsCancellationRequested
= true;
12 references to IsCancellationRequested
System.Activities (12)
System\Activities\ActivityInstance.cs (2)
687
Fx.Assert(this.
IsCancellationRequested
, "This should be marked to true at this point.");
1132
if (this.
IsCancellationRequested
) // need to cancel any in-flight resolutions and bail
System\Activities\AsyncCodeActivityContext.cs (2)
26
return this.CurrentInstance.
IsCancellationRequested
;
49
if (!this.CurrentInstance.
IsCancellationRequested
&& !this.asyncContext.IsAborting)
System\Activities\DynamicUpdate\NativeActivityUpdateContext.cs (1)
61
return this.currentInstance.
IsCancellationRequested
;
System\Activities\NativeActivityContext.cs (2)
51
return this.CurrentInstance.
IsCancellationRequested
;
422
if (!this.CurrentInstance.
IsCancellationRequested
)
System\Activities\Runtime\ActivityExecutor.cs (4)
1310
if (!this.rootInstance.
IsCancellationRequested
&& !this.rootInstance.IsCompleted)
1572
if (!this.rootInstance.
IsCancellationRequested
)
1628
if (activityInstance.State != ActivityInstanceState.Executing || activityInstance.
IsCancellationRequested
)
1685
if (exceptionPropagator.
IsCancellationRequested
)
System\Activities\Statements\TryCatch.cs (1)
231
if (propagatedFrom.
IsCancellationRequested
)