26 references to Cancel
mscorlib (6)
system\threading\CancellationToken.cs (1)
75
/// calling <see cref="System.Threading.CancellationTokenSource.
Cancel
()">Cancel</see>
system\threading\CancellationTokenSource.cs (4)
31
/// calling to the source's <see cref="System.Threading.CancellationTokenSource.
Cancel
()">Cancel</see>
90
cts.
Cancel
();
106
/// <see cref="System.Threading.CancellationTokenSource.
Cancel
()">Cancel</see> method.
526
cts.
Cancel
(); // will take care of disposing of m_timer
system\threading\SemaphoreSlim.cs (1)
711
cts.
Cancel
(); // ensure that the Task.Delay task is cleaned up
System (3)
net\System\Net\WebSockets\WebSocketBase.cs (1)
2435
cancellationTokenSourceSnapshot.
Cancel
();
sys\system\collections\concurrent\BlockingCollection.cs (2)
1532
m_ConsumersCancellationTokenSource.
Cancel
();
1537
m_ProducersCancellationTokenSource.
Cancel
();
System.Activities.Presentation (1)
System.Activities.Presentation\System\Activities\Presentation\Validation\BackgroundValidationSynchronizer.cs (1)
143
this.cancellationTokenSource.
Cancel
();
System.Core (2)
System\Linq\Parallel\QueryOperators\QueryOpeningEnumerator.cs (1)
80
m_topLevelCancellationTokenSource.
Cancel
(); // initiate internal cancellation.
System\Linq\Parallel\Scheduling\SpoolingTaskBase.cs (1)
67
m_groupState.CancellationState.InternalCancellationTokenSource.
Cancel
();
System.Data (8)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Validation\BackgroundValidationSynchronizer.cs (1)
143
this.cancellationTokenSource.
Cancel
();
fx\src\data\System\Data\SqlClient\SqlCommand.cs (2)
3079
timeoutCTS.
Cancel
();
4365
timeoutCTS.
Cancel
();
fx\src\data\System\Data\SqlClient\SqlConnection.cs (1)
1093
cts.
Cancel
();
fx\src\data\System\Data\SqlClient\SqlDataReader.cs (2)
808
_cancelAsyncOnCloseTokenSource.
Cancel
();
1097
_cancelAsyncOnCloseTokenSource.
Cancel
();
fx\src\data\System\Data\SqlClient\SqlSequentialStream.cs (1)
287
_disposalTokenSource.
Cancel
();
fx\src\data\System\Data\SqlClient\SqlSequentialTextReader.cs (1)
287
_disposalTokenSource.
Cancel
();
System.ServiceModel (3)
System\ServiceModel\Channels\HttpPipeline.cs (3)
498
this.cancellationTokenSource.
Cancel
();
532
this.cancellationTokenSource.
Cancel
();
794
this.cancellationTokenSource.
Cancel
();
System.ServiceModel.Internals (1)
System\Runtime\IOThreadCancellationTokenSource.cs (1)
77
this.source.
Cancel
();
System.Web (2)
Util\CancellationTokenHelper.cs (2)
32
_cts.
Cancel
();
53
_cts.
Cancel
();