18 references to GetCancellationTokenAsync
System.ServiceModel.Http (10)
System\ServiceModel\Channels\ClientWebSocketTransportDuplexSessionChannel.cs (1)
75await clientWebSocket.ConnectAsync(Via, await helper.GetCancellationTokenAsync());
System\ServiceModel\Channels\HttpChannelFactory.cs (2)
1050var timeoutToken = await _timeoutHelper.GetCancellationTokenAsync(); 1356var cancelToken = await _timeoutHelper.GetCancellationTokenAsync();
System\ServiceModel\Channels\HttpResponseMessageHelper.cs (4)
191return await _encoder.ReadMessageAsync(await inputStreamTask, _factory.BufferManager, _factory.MaxBufferSize, _contentType, await timeoutHelper.GetCancellationTokenAsync()); 215var ct = await timeoutHelper.GetCancellationTokenAsync(); 276var ct = await timeoutHelper.GetCancellationTokenAsync(); 316var cancellationToken = await timeoutHelper.GetCancellationTokenAsync();
System\ServiceModel\Channels\WebSocketTransportDuplexSessionChannel.cs (3)
116var cancelToken = await helper.GetCancellationTokenAsync(); 738var cancelToken = await helper.GetCancellationTokenAsync(); 1177var cancelTokenTask = timeoutHelper.GetCancellationTokenAsync();
System.ServiceModel.NetNamedPipe (3)
System\ServiceModel\Channels\PipeConnection.cs (3)
117var cancellationToken = await timeoutHelper.GetCancellationTokenAsync(); 164var cancellationToken = await timeoutHelper.GetCancellationTokenAsync(); 199var cancellationToken = await timeoutHelper.GetCancellationTokenAsync();
System.ServiceModel.Primitives (5)
Internals\System\Runtime\TimeoutHelper.cs (1)
37return GetCancellationTokenAsync().Result;
System\ServiceModel\Channels\TimeoutStream.cs (4)
60var cancelToken = await _timeoutHelper.GetCancellationTokenAsync(); 70var cancelToken = await _timeoutHelper.GetCancellationTokenAsync(); 103var cancelToken = await _timeoutHelper.GetCancellationTokenAsync(); 113var cancelToken = await _timeoutHelper.GetCancellationTokenAsync();