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