20 references to ToMilliseconds
System.ServiceModel.Http (6)
System\ServiceModel\Channels\SynchronizedMessageSource.cs (2)
31if (!await _sourceLock.WaitAsync(TimeoutHelper.ToMilliseconds(timeout))) 55if (!await _sourceLock.WaitAsync(TimeoutHelper.ToMilliseconds(timeout)))
System\ServiceModel\Channels\TransportDuplexSessionChannel.cs (4)
237if (!await SendLock.WaitAsync(TimeoutHelper.ToMilliseconds(timeout))) 292if (!SendLock.Wait(TimeoutHelper.ToMilliseconds(timeout))) 455if (!await SendLock.WaitAsync(TimeoutHelper.ToMilliseconds(timeout))) 560if (!SendLock.Wait(TimeoutHelper.ToMilliseconds(timeout)))
System.ServiceModel.NetFramingBase (11)
System\ServiceModel\Channels\Connection.cs (4)
91ReadTimeout = TimeoutHelper.ToMilliseconds(defaultTimeouts.ReceiveTimeout); 92WriteTimeout = TimeoutHelper.ToMilliseconds(defaultTimeouts.SendTimeout); 386int timeoutInMilliseconds = TimeoutHelper.ToMilliseconds(timeout); 396int timeoutInMilliseconds = TimeoutHelper.ToMilliseconds(timeout);
System\ServiceModel\Channels\FramingChannels.cs (1)
217if (!await SendLock.WaitAsync(TimeoutHelper.ToMilliseconds(timeout)))
System\ServiceModel\Channels\SingletonConnectionReader.cs (1)
96_inputStream.ReadTimeout = TimeoutHelper.ToMilliseconds(timeoutHelper.RemainingTime());
System\ServiceModel\Channels\SynchronizedMessageSource.cs (2)
29if (!await _sourceLock.WaitAsync(TimeoutHelper.ToMilliseconds(timeout))) 53if (!await _sourceLock.WaitAsync(TimeoutHelper.ToMilliseconds(timeout)))
System\ServiceModel\Channels\TransportDuplexSessionChannel.cs (3)
243if (!await SendLock.WaitAsync(TimeoutHelper.ToMilliseconds(timeout))) 402if (!await SendLock.WaitAsync(TimeoutHelper.ToMilliseconds(timeout))) 478if (!SendLock.Wait(TimeoutHelper.ToMilliseconds(timeout)))
System.ServiceModel.NetTcp (1)
System\ServiceModel\Channels\SocketConnection.cs (1)
371_socket.Close(TimeoutHelper.ToMilliseconds(_closeTimeoutHelper.RemainingTime()));
System.ServiceModel.Primitives (1)
System\ServiceModel\Channels\TimeoutStream.cs (1)
28ReadTimeout = TimeoutHelper.ToMilliseconds(timeout);
System.ServiceModel.UnixDomainSocket (1)
System\ServiceModel\Channels\SocketConnection.cs (1)
350_socket.Close(TimeoutHelper.ToMilliseconds(_closeTimeoutHelper.RemainingTime()));