26 references to CancellationTokenSource
mscorlib (3)
system\threading\CancellationTokenSource.cs (2)
876
CancellationTokenSource linkedTokenSource = new
CancellationTokenSource
();
920
CancellationTokenSource linkedTokenSource = new
CancellationTokenSource
();
system\threading\SemaphoreSlim.cs (1)
706
new
CancellationTokenSource
())
System (5)
net\System\Net\WebSockets\ClientWebSocket.cs (1)
49
cts = new
CancellationTokenSource
();
net\System\Net\WebSockets\WebSocketBase.cs (2)
2403
linkedCancellationTokenSource = new
CancellationTokenSource
();
2408
new
CancellationTokenSource
().Token);
sys\system\collections\concurrent\BlockingCollection.cs (2)
233
m_ConsumersCancellationTokenSource = new
CancellationTokenSource
();
234
m_ProducersCancellationTokenSource = new
CancellationTokenSource
();
System.Activities.Presentation (1)
System.Activities.Presentation\System\Activities\Presentation\Validation\BackgroundValidationSynchronizer.cs (1)
148
this.cancellationTokenSource = new
CancellationTokenSource
();
System.Core (4)
System\Linq\Parallel\QueryOperators\QueryOpeningEnumerator.cs (1)
52
private readonly CancellationTokenSource m_topLevelCancellationTokenSource = new
CancellationTokenSource
();
System\Linq\Parallel\QueryOperators\QuerySettings.cs (1)
144
return WithPerExecutionSettings(new
CancellationTokenSource
(), new Shared<bool>(false));
System\Linq\Parallel\QueryOperators\Unary\ForAllOperator.cs (1)
57
CancellationTokenSource dummyInternalCancellationTokenSource = new
CancellationTokenSource
();
System\Linq\ParallelEnumerable.cs (1)
4412
.WithPerExecutionSettings(new
CancellationTokenSource
(), new System.Linq.Parallel.Shared<bool>(false));
System.Data (10)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Validation\BackgroundValidationSynchronizer.cs (1)
148
this.cancellationTokenSource = new
CancellationTokenSource
();
fx\src\data\System\Data\ProviderBase\DbConnectionFactory.cs (1)
218
CancellationTokenSource cancellationTokenSource = new
CancellationTokenSource
();
fx\src\data\System\Data\SqlClient\SqlCommand.cs (2)
3071
CancellationTokenSource timeoutCTS = new
CancellationTokenSource
();
4357
CancellationTokenSource timeoutCTS = new
CancellationTokenSource
();
fx\src\data\System\Data\SqlClient\SqlConnection.cs (1)
1227
CancellationTokenSource cts = new
CancellationTokenSource
();
fx\src\data\System\Data\SqlClient\SqlDataReader.cs (3)
124
_cancelAsyncOnCloseTokenSource = new
CancellationTokenSource
();
4035
timeoutCancellationSource = new
CancellationTokenSource
();
4129
timeoutCancellationSource = new
CancellationTokenSource
();
fx\src\data\System\Data\SqlClient\SqlSequentialStream.cs (1)
25
_disposalTokenSource = new
CancellationTokenSource
();
fx\src\data\System\Data\SqlClient\SqlSequentialTextReader.cs (1)
34
_disposalTokenSource = new
CancellationTokenSource
();
System.ServiceModel.Internals (1)
System\Runtime\IOThreadCancellationTokenSource.cs (1)
44
this.source = new
CancellationTokenSource
();
System.Web (2)
UI\Page.cs (1)
6006
: new
CancellationTokenSource
();
Util\CancellationTokenHelper.cs (1)
27
private readonly CancellationTokenSource _cts = new
CancellationTokenSource
();