101 references to TimeoutException
Aspire.Dashboard.Components.Tests (2)
tests\Shared\AsyncTestHelpers.cs (2)
143throw new TimeoutException(CreateMessage(timeout, filePath!, lineNumber)); 177throw new TimeoutException(CreateMessage(timeout, filePath!, lineNumber));
Aspire.Dashboard.Tests (2)
tests\Shared\AsyncTestHelpers.cs (2)
143throw new TimeoutException(CreateMessage(timeout, filePath!, lineNumber)); 177throw new TimeoutException(CreateMessage(timeout, filePath!, lineNumber));
Aspire.Hosting.Kafka.Tests (2)
tests\Shared\AsyncTestHelpers.cs (2)
143throw new TimeoutException(CreateMessage(timeout, filePath!, lineNumber)); 177throw new TimeoutException(CreateMessage(timeout, filePath!, lineNumber));
Aspire.Hosting.MySql.Tests (2)
tests\Shared\AsyncTestHelpers.cs (2)
143throw new TimeoutException(CreateMessage(timeout, filePath!, lineNumber)); 177throw new TimeoutException(CreateMessage(timeout, filePath!, lineNumber));
Aspire.Hosting.NodeJs.Tests (2)
tests\Shared\AsyncTestHelpers.cs (2)
143throw new TimeoutException(CreateMessage(timeout, filePath!, lineNumber)); 177throw new TimeoutException(CreateMessage(timeout, filePath!, lineNumber));
Aspire.Hosting.PostgreSQL.Tests (2)
tests\Shared\AsyncTestHelpers.cs (2)
143throw new TimeoutException(CreateMessage(timeout, filePath!, lineNumber)); 177throw new TimeoutException(CreateMessage(timeout, filePath!, lineNumber));
Aspire.Hosting.RabbitMQ.Tests (2)
tests\Shared\AsyncTestHelpers.cs (2)
143throw new TimeoutException(CreateMessage(timeout, filePath!, lineNumber)); 177throw new TimeoutException(CreateMessage(timeout, filePath!, lineNumber));
Aspire.Hosting.Tests (2)
tests\Shared\AsyncTestHelpers.cs (2)
143throw new TimeoutException(CreateMessage(timeout, filePath!, lineNumber)); 177throw new TimeoutException(CreateMessage(timeout, filePath!, lineNumber));
Aspire.Hosting.Valkey.Tests (2)
tests\Shared\AsyncTestHelpers.cs (2)
143throw new TimeoutException(CreateMessage(timeout, filePath!, lineNumber)); 177throw new TimeoutException(CreateMessage(timeout, filePath!, lineNumber));
Aspire.Playground.Tests (2)
tests\Shared\AsyncTestHelpers.cs (2)
143throw new TimeoutException(CreateMessage(timeout, filePath!, lineNumber)); 177throw new TimeoutException(CreateMessage(timeout, filePath!, lineNumber));
Aspire.Templates.Tests (1)
TemplateTestsBase.cs (1)
41throw new TimeoutException("Browser creation timed out");
Client.ChannelLayer.IntegrationTests (1)
DuplexChannelWithSynchronizationContext.cs (1)
279throw new TimeoutException(string.Format("Not completed within the alloted time of {0}", ScenarioTestHelpers.TestTimeout));
Client.ExpectedExceptions.IntegrationTests (2)
ExpectedExceptionTests.4.1.0.cs (2)
259throw new TimeoutException(String.Format("The call to the Service did not complete within the alloted time of: {0}", ScenarioTestHelpers.TestTimeout)); 311throw new TimeoutException(String.Format("The call to the Service did not complete within the alloted time of: {0}", ScenarioTestHelpers.TestTimeout));
Client.TypedClient.IntegrationTests (1)
TypedProxyTests.4.0.0.cs (1)
425throw new TimeoutException(string.Format("Not completed within the alloted time of {0}", maxTestWaitTime));
dotnet-getdocument (1)
Exe.cs (1)
57throw new TimeoutException($"Process {executable} timed out after 2 minutes.");
dotnet-svcutil-lib (21)
FrameworkFork\System.ServiceModel\Internals\System\Runtime\InputQueue.cs (1)
152throw Fx.Exception.AsError(new TimeoutException(InternalSR.TimeoutInputQueueDequeue(timeout)));
FrameworkFork\System.ServiceModel\Internals\System\Runtime\TaskHelpers.cs (1)
233throw Fx.Exception.AsError(new TimeoutException(InternalSR.TaskTimedOutError(timeout)));
FrameworkFork\System.ServiceModel\Internals\System\Runtime\TimeoutHelper.cs (1)
228return new TimeoutException(string.Format(SRServiceModel.LockTimeoutExceptionMessage, timeout));
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\CoreClrSocketConnection.cs (2)
803new TimeoutException(string.Format(SRServiceModel.TcpConnectionTimedOut, timeout))); 843new TimeoutException(string.Format(SRServiceModel.TcpConnectionTimedOut, timeout)));
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\HttpChannelFactory.cs (2)
954throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new TimeoutException(string.Format( 1019throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new TimeoutException(string.Format(
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\HttpResponseMessageHelper.cs (1)
346throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new TimeoutException(_httpResponseMessage.StatusCode + " " + _httpResponseMessage.ReasonPhrase));
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\LifetimeManager.cs (3)
230throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new TimeoutException(string.Format(SRServiceModel.SFxCloseTimedOut1, timeout))); 286throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new TimeoutException(string.Format(SRServiceModel.SFxCloseTimedOut1, timeout))); 325this.Complete(false, new TimeoutException(string.Format(SRServiceModel.SFxCloseTimedOut1, _timeout)));
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\ServiceChannel.cs (2)
882return new TimeoutException(string.Format(SRServiceModel.TimeoutServiceChannelConcurrentOpen2, address, timeout)); 886return new TimeoutException(string.Format(SRServiceModel.TimeoutServiceChannelConcurrentOpen1, timeout));
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 (4)
151throw Fx.Exception.AsError(new TimeoutException(InternalSR.TaskTimedOutError(timeout))); 1071throw Fx.Exception.AsError(new TimeoutException(InternalSR.TaskTimedOutError(new TimeSpan(ReadTimeout)))); 1151throw Fx.Exception.AsError(new TimeoutException(InternalSR.TaskTimedOutError(new TimeSpan(WriteTimeout)))); 1226new TimeoutException(InternalSR.TaskTimedOutError(timeoutHelper.OriginalTimeout)));
FrameworkFork\System.ServiceModel\System\ServiceModel\Dispatcher\DuplexChannelBinder.cs (2)
250return new TimeoutException(string.Format(SRServiceModel.SFxRequestTimedOut2, address, timeout)); 254return new TimeoutException(string.Format(SRServiceModel.SFxRequestTimedOut1, timeout));
FrameworkFork\System.ServiceModel\System\ServiceModel\ServiceChannelManager.cs (1)
193throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new TimeoutException(SRServiceModel.SfxCloseTimedOutWaitingForDispatchToComplete));
Interop.FunctionalTests (1)
H2SpecCommands.cs (1)
264throw new TimeoutException($"h2spec didn't exit within {TimeoutSeconds * 2} seconds.");
InteropTests (1)
src\Shared\Process\ProcessEx.cs (1)
65_exited.TrySetException(new TimeoutException(timeoutExMessage));
Microsoft.AspNetCore.Components.Server (1)
Circuits\RemoteJSDataStream.cs (1)
201var timeoutException = new TimeoutException("Did not receive any data in the allotted time.");
Microsoft.AspNetCore.Components.WebAssembly.Server (1)
DebugProxyLauncher.cs (1)
89tcs.TrySetException(new TimeoutException($"Failed to start the debug proxy within the timeout period of {DebugProxyLaunchTimeout.TotalSeconds} seconds."));
Microsoft.AspNetCore.Diagnostics.Middleware.Tests (1)
Logging\AcceptanceTests.cs (1)
194throw new TimeoutException("No log records were emitted, timeout was reached");
Microsoft.AspNetCore.InternalTesting (2)
src\Shared\TaskExtensions.cs (2)
103throw new TimeoutException(CreateMessage(timeout, filePath, lineNumber)); 138throw new TimeoutException(CreateMessage(timeout, filePath, lineNumber));
Microsoft.AspNetCore.InternalTesting.Tests (2)
TaskExtensionsTest.cs (2)
70throw new TimeoutException(message); 83throw new TimeoutException(message);
Microsoft.AspNetCore.Server.HttpSys.FunctionalTests (1)
Listener\Utilities.cs (1)
139throw new TimeoutException("AcceptAsync has timed out.");
Microsoft.AspNetCore.Server.IntegrationTesting (1)
src\Shared\Process\ProcessEx.cs (1)
65_exited.TrySetException(new TimeoutException(timeoutExMessage));
Microsoft.AspNetCore.Server.IntegrationTesting.IIS (1)
IISExpressDeployer.cs (1)
269throw new TimeoutException(message);
Microsoft.AspNetCore.SignalR.Client.Core (1)
HubConnection.cs (1)
2390CloseException = new TimeoutException(
Microsoft.AspNetCore.SignalR.Specification.Tests (4)
Internal\TaskExtensions.cs (2)
32throw new TimeoutException(CreateMessage(timeout, filePath, lineNumber)); 56throw new TimeoutException(CreateMessage(timeout, filePath, lineNumber));
src\Shared\TaskExtensions.cs (2)
92throw new TimeoutException(CreateMessage(timeout, filePath, lineNumber)); 127throw new TimeoutException(CreateMessage(timeout, filePath, lineNumber));
Microsoft.AspNetCore.SignalR.Tests.Utils (1)
src\Shared\SignalR\InProcessTestServer.cs (1)
123throw new TimeoutException($"Timed out waiting for application to start.{Environment.NewLine}Startup Logs:{Environment.NewLine}{RenderLogs(logs)}");
Microsoft.AspNetCore.SpaServices.Extensions (2)
Util\TaskTimeoutExtensions.cs (2)
16throw new TimeoutException(message); 28throw new TimeoutException(message);
Microsoft.Build.UnitTests.Shared (1)
RunnerUtilities.cs (1)
155throw new TimeoutException($"Test failed due to timeout: process {p.Id} is active for more than {timeout.TotalSeconds} sec.");
Microsoft.CodeAnalysis.CSharp.EndToEnd.UnitTests (1)
EndToEndTests.cs (1)
57throw new TimeoutException(t.ToString());
Microsoft.Extensions.ApiDescription.Client.Tests (1)
src\Shared\Process\ProcessEx.cs (1)
65_exited.TrySetException(new TimeoutException(timeoutExMessage));
Microsoft.Extensions.Caching.Hybrid.Tests (6)
StampedeTests.cs (6)
104throw new TimeoutException("Failed to activate"); 140throw new TimeoutException("Failed to activate"); 193throw new TimeoutException("Failed to activate"); 235throw new TimeoutException("Didn't get handshake back from task"); 271throw new TimeoutException("Failed to activate"); 319throw new TimeoutException("Didn't get handshake back from task");
Microsoft.ML.AutoML (1)
AutoMLExperiment\AutoMLExperiment.cs (1)
345throw new TimeoutException("Training time finished without completing a successful trial. Either no trial completed or the metric for all completed trials are NaN or Infinity");
PresentationCore (1)
MS\Internal\Automation\ElementUtil.cs (1)
231throw new TimeoutException(SR.AutomationTimeout);
ScenarioTests.Common.Tests (3)
ScenarioTestTypes.cs (3)
941throw new TimeoutException(string.Format("Not completed within the alloted time of {0}", ScenarioTestHelpers.TestTimeout)); 953throw new TimeoutException(string.Format("Not completed within the alloted time of {0}", ScenarioTestHelpers.TestTimeout)); 965throw new TimeoutException(string.Format("Not completed within the alloted time of {0}", ScenarioTestHelpers.TestTimeout));
System.Data.Odbc (1)
Common\System\Data\Common\AdapterUtil.Odbc.cs (1)
58TimeoutException e = new TimeoutException(error);
System.ServiceModel.NetFramingBase (1)
System\ServiceModel\Channels\StreamedFramingRequestChannel.cs (1)
275throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new TimeoutException(SR.Format(
System.ServiceModel.NetNamedPipe (2)
System\ServiceModel\Channels\PipeConnection.cs (2)
291new TimeoutException(SR.PipeShutdownReadError), ExceptionEventType); 487Exception timeoutException = new TimeoutException(SR.Format(SR.PipeWriteTimedOut, timeout));
System.ServiceModel.UnixDomainSocket (2)
System\ServiceModel\Channels\SocketConnection.cs (2)
498new TimeoutException(SR.Format(SR.UDSConnectionTimedOut, timeout))); 549new TimeoutException(SR.Format(SR.UDSConnectionTimedOut, timeout)));
System.Text.RegularExpressions (3)
System\Text\RegularExpressions\RegexMatchTimeoutException.cs (3)
23: base(SR.RegexMatchTimeoutException_Occurred) 35public RegexMatchTimeoutException() : base(SR.RegexMatchTimeoutException_Occurred) { } 43public RegexMatchTimeoutException(string message) : base(message ?? SR.RegexMatchTimeoutException_Occurred) { }
System.Transactions.Local (4)
System\Transactions\TransactionState.cs (4)
593TimeoutException e = new TimeoutException(SR.TraceTransactionTimeout); 1250TimeoutException e = new TimeoutException(SR.TraceTransactionTimeout); 2064tx._innerException ??= new TimeoutException(SR.TraceTransactionTimeout); 3608TimeoutException e = new TimeoutException(SR.TraceTransactionTimeout);
Templates.Blazor.Tests (1)
src\Shared\Process\ProcessEx.cs (1)
65_exited.TrySetException(new TimeoutException(timeoutExMessage));
Templates.Blazor.WebAssembly.Auth.Tests (1)
src\Shared\Process\ProcessEx.cs (1)
65_exited.TrySetException(new TimeoutException(timeoutExMessage));
Templates.Blazor.WebAssembly.Tests (1)
src\Shared\Process\ProcessEx.cs (1)
65_exited.TrySetException(new TimeoutException(timeoutExMessage));
Templates.Mvc.Tests (1)
src\Shared\Process\ProcessEx.cs (1)
65_exited.TrySetException(new TimeoutException(timeoutExMessage));
Templates.Tests (1)
src\Shared\Process\ProcessEx.cs (1)
65_exited.TrySetException(new TimeoutException(timeoutExMessage));
Wasm.Performance.Driver (2)
Program.cs (2)
102BenchmarkResultTask.TrySetException(new TimeoutException(exceptionMessage)); 317throw new TimeoutException("Timed out waiting to start the host");