57 references to TimeoutException
dotnet-svcutil-lib (24)
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\Connection.cs (1)
520return new TimeoutException(ioException.InnerException.Message, ioException);
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\CoreClrSocketConnection.cs (3)
137throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new TimeoutException( 259throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new TimeoutException( 303throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new TimeoutException(
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\FramingChannels.cs (3)
325new TimeoutException(string.Format(SRServiceModel.TimeoutOnOpen, timeout), exception)); 353new TimeoutException(string.Format(SRServiceModel.TimeoutOnOpen, timeout), exception)); 427return new TimeoutException(string.Format(SRServiceModel.OpenTimedOutEstablishingTransportSession,
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\RequestChannel.cs (2)
284throw TraceUtility.ThrowHelperError(new TimeoutException(string.Format(SRServiceModel.RequestChannelSendTimedOut, savedTimeout), 296throw TraceUtility.ThrowHelperError(new TimeoutException(string.Format(SRServiceModel.RequestChannelWaitForReplyTimedOut, savedTimeout),
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\SocketConnection.cs (4)
222TimeoutException timeoutException = new TimeoutException(string.Format(SRServiceModel.TcpConnectionTimedOut, timeout), originalException); 242TimeoutException timeoutException = new TimeoutException(string.Format(SRServiceModel.TcpConnectionTimedOut, timeout), originalException); 266return new TimeoutException(timeoutErrorString, originalException); 530throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new TimeoutException(
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\SynchronizedMessageSource.cs (4)
34new TimeoutException(string.Format(SRServiceModel.WaitForMessageTimedOut, timeout), 58new TimeoutException(string.Format(SRServiceModel.WaitForMessageTimedOut, timeout), 83new TimeoutException(string.Format(SRServiceModel.ReceiveTimedOut2, timeout), 108new TimeoutException(string.Format(SRServiceModel.ReceiveTimedOut2, timeout),
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\TransportDuplexSessionChannel.cs (4)
291throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new TimeoutException( 346throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new TimeoutException( 514throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new TimeoutException( 619throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new TimeoutException(
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\WebSocketHelper.cs (1)
237return innerException == null ? new TimeoutException(errorMsg) : new TimeoutException(errorMsg, innerException);
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\WebSocketTransportDuplexSessionChannel.cs (2)
523throw FxTrace.Exception.AsError(new TimeoutException( 546throw FxTrace.Exception.AsError(new TimeoutException(
IIS.Common.TestLib (1)
TestConnections.cs (1)
148throw new TimeoutException(
InMemory.FunctionalTests (1)
src\Servers\Kestrel\shared\test\StreamBackedTestConnection.cs (1)
119throw new TimeoutException($"Did not receive a complete response within {Timeout}.{Environment.NewLine}{Environment.NewLine}" +
Interop.FunctionalTests (1)
H2SpecCommands.cs (1)
262throw new TimeoutException($"h2spec didn't exit within {TimeoutSeconds * 2} seconds.", ex);
Microsoft.AspNetCore.Server.Kestrel.Core.Tests (1)
src\Servers\Kestrel\shared\test\StreamBackedTestConnection.cs (1)
119throw new TimeoutException($"Did not receive a complete response within {Timeout}.{Environment.NewLine}{Environment.NewLine}" +
Microsoft.CodeAnalysis.Workspaces.Test.Utilities (1)
MEF\UseExportProviderAttribute.cs (1)
158throw new TimeoutException(messageBuilder.ToString(), ex);
Sockets.BindTests (1)
src\Servers\Kestrel\shared\test\StreamBackedTestConnection.cs (1)
119throw new TimeoutException($"Did not receive a complete response within {Timeout}.{Environment.NewLine}{Environment.NewLine}" +
Sockets.FunctionalTests (1)
src\Servers\Kestrel\shared\test\StreamBackedTestConnection.cs (1)
119throw new TimeoutException($"Did not receive a complete response within {Timeout}.{Environment.NewLine}{Environment.NewLine}" +
System.Net.Http (2)
System\Net\Http\HttpClient.cs (1)
606e = toThrow = new TaskCanceledException(SR.Format(SR.net_http_request_timedout, _timeout.TotalSeconds), new TimeoutException(e.Message, e), oce.CancellationToken);
System\Net\Http\SocketsHttpHandler\ConnectionPool\HttpConnectionPool.cs (1)
845TimeoutException te = new TimeoutException(SR.net_http_connect_timedout, oce.InnerException);
System.Net.Http.Json (1)
System\Net\Http\Json\HttpClientJsonExtensions.cs (1)
96throw new TaskCanceledException(message, new TimeoutException(oce.Message, oce), oce.CancellationToken);
System.ServiceModel.NetFramingBase (11)
System\ServiceModel\Channels\Connection.cs (1)
348return new TimeoutException(ioException.InnerException.Message, ioException);
System\ServiceModel\Channels\FramingChannels.cs (3)
219throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new TimeoutException( 281new TimeoutException(SR.Format(SR.TimeoutOnOpen, timeout), exception)); 360return new TimeoutException(SR.Format(SR.OpenTimedOutEstablishingTransportSession,
System\ServiceModel\Channels\StreamedFramingRequestChannel.cs (2)
142protected override TimeoutException CreateNewConnectionTimeoutException(TimeSpan timeout, TimeoutException innerException) => new TimeoutException(SR.Format(SR.RequestTimedOutEstablishingTransportSession, 231new TimeoutException(SR.Format(SR.TimeoutOnRequest, timeoutHelper.RemainingTime()), exception));
System\ServiceModel\Channels\SynchronizedMessageSource.cs (2)
32new TimeoutException(SR.Format(SR.WaitForMessageTimedOut, timeout), 56new TimeoutException(SR.Format(SR.ReceiveTimedOut2, timeout),
System\ServiceModel\Channels\TransportDuplexSessionChannel.cs (3)
250throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new TimeoutException( 404throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new TimeoutException( 480throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new TimeoutException(
System.ServiceModel.NetNamedPipe (6)
System\ServiceModel\Channels\PipeConnection.cs (4)
97return new TimeoutException(_timeoutErrorString, pipeException); 269new TimeoutException(SR.PipeShutdownWriteError, e), ExceptionEventType); 283new TimeoutException(SR.PipeShutdownReadError, e), ExceptionEventType); 332new TimeoutException(SR.PipeCloseFailed, e), ExceptionEventType);
System\ServiceModel\Channels\PipeConnectionInitiator.cs (2)
206timeoutException = new TimeoutException(SR.Format(SR.PipeConnectTimedOutServerTooBusy, 211timeoutException = new TimeoutException(SR.Format(SR.PipeConnectTimedOut,
System.ServiceModel.UnixDomainSocket (5)
System\ServiceModel\Channels\SocketConnection.cs (5)
346throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new TimeoutException( 663TimeoutException timeoutException = new TimeoutException(SR.Format(SR.UDSConnectionTimedOut, timeout), originalException); 683TimeoutException timeoutException = new TimeoutException(SR.Format(SR.UDSConnectionTimedOut, timeout), originalException); 710return new TimeoutException(timeoutErrorString, originalException); 839throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new TimeoutException("Timed out while connecting to Unix domain socket", innerException));
System.Text.RegularExpressions (1)
System\Text\RegularExpressions\RegexMatchTimeoutException.cs (1)
52public RegexMatchTimeoutException(string message, Exception inner) : base(message ?? SR.RegexMatchTimeoutException_Occurred, inner) { }