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> 90cts.Cancel(); 106/// <see cref="System.Threading.CancellationTokenSource.Cancel()">Cancel</see> method. 526cts.Cancel(); // will take care of disposing of m_timer
system\threading\SemaphoreSlim.cs (1)
711cts.Cancel(); // ensure that the Task.Delay task is cleaned up
System (3)
net\System\Net\WebSockets\WebSocketBase.cs (1)
2435cancellationTokenSourceSnapshot.Cancel();
sys\system\collections\concurrent\BlockingCollection.cs (2)
1532m_ConsumersCancellationTokenSource.Cancel(); 1537m_ProducersCancellationTokenSource.Cancel();
System.Activities.Presentation (1)
System.Activities.Presentation\System\Activities\Presentation\Validation\BackgroundValidationSynchronizer.cs (1)
143this.cancellationTokenSource.Cancel();
System.Core (2)
System\Linq\Parallel\QueryOperators\QueryOpeningEnumerator.cs (1)
80m_topLevelCancellationTokenSource.Cancel(); // initiate internal cancellation.
System\Linq\Parallel\Scheduling\SpoolingTaskBase.cs (1)
67m_groupState.CancellationState.InternalCancellationTokenSource.Cancel();
System.Data (8)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Validation\BackgroundValidationSynchronizer.cs (1)
143this.cancellationTokenSource.Cancel();
fx\src\data\System\Data\SqlClient\SqlCommand.cs (2)
3079timeoutCTS.Cancel(); 4365timeoutCTS.Cancel();
fx\src\data\System\Data\SqlClient\SqlConnection.cs (1)
1093cts.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)
498this.cancellationTokenSource.Cancel(); 532this.cancellationTokenSource.Cancel(); 794this.cancellationTokenSource.Cancel();
System.ServiceModel.Internals (1)
System\Runtime\IOThreadCancellationTokenSource.cs (1)
77this.source.Cancel();
System.Web (2)
Util\CancellationTokenHelper.cs (2)
32_cts.Cancel(); 53_cts.Cancel();