5 instantiations of AddressInUseException
Microsoft.AspNetCore.Server.Kestrel.Core.Tests (1)
AddressBinderTests.cs (1)
166endpoint => throw new AddressInUseException("already in use"));
Microsoft.AspNetCore.Server.Kestrel.Transport.NamedPipes (1)
Internal\NamedPipeTransportFactory.cs (1)
62throw new AddressInUseException($"Named pipe '{namedPipeEndPoint.PipeName}' is already in use.", ex);
Microsoft.AspNetCore.Server.Kestrel.Transport.Quic (2)
Internal\QuicConnectionListener.cs (2)
132throw new AddressInUseException(e.Message, e); 137throw new AddressInUseException(e.Message, e);
Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets (1)
SocketConnectionListener.cs (1)
48throw new AddressInUseException(e.Message, e);
5 references to AddressInUseException
Microsoft.AspNetCore.Connections.Abstractions (2)
Exceptions\AddressInUseException.cs (2)
14/// Initializes a new instance of <see cref="AddressInUseException"/>. 22/// Initializes a new instance of <see cref="AddressInUseException"/>.
Microsoft.AspNetCore.Server.Kestrel.Core (1)
Internal\AddressBinder.cs (1)
92catch (AddressInUseException ex)
Microsoft.AspNetCore.Server.Kestrel.Transport.Quic.Tests (2)
QuicConnectionListenerTests.cs (2)
280await Assert.ThrowsAsync<AddressInUseException>(() => QuicTestHelpers.CreateConnectionListenerFactory(LoggerFactory, port: port)); 295await Assert.ThrowsAsync<AddressInUseException>(() => QuicTestHelpers.CreateConnectionListenerFactory(LoggerFactory, port: port));