7 types derived from EndPoint
Microsoft.AspNetCore.Connections.Abstractions (3)
Microsoft.Extensions.ServiceDiscovery (1)
System.Net.Primitives (2)
System.Net.Sockets (1)
243 references to EndPoint
ClientSample (4)
InMemory.FunctionalTests (8)
Microsoft.AspNetCore.Connections.Abstractions (30)
Microsoft.AspNetCore.Http.Connections.Client (2)
Microsoft.AspNetCore.OutputCaching.StackExchangeRedis (1)
Microsoft.AspNetCore.Server.Kestrel.Core (28)
Microsoft.AspNetCore.Server.Kestrel.Core.Tests (22)
KestrelServerTests.cs (21)
555.Setup(transportFactory => transportFactory.BindAsync(It.IsAny<EndPoint>(), It.IsAny<CancellationToken>()))
556.Returns<EndPoint, CancellationToken>((e, token) =>
612.Setup(transportFactory => transportFactory.BindAsync(It.IsAny<EndPoint>(), It.IsAny<CancellationToken>()))
613.Returns<EndPoint, CancellationToken>((e, token) =>
671.Setup(transportFactory => transportFactory.BindAsync(It.IsAny<EndPoint>(), It.IsAny<CancellationToken>()))
672.Returns<EndPoint, CancellationToken>((e, token) =>
807.Setup(transportFactory => transportFactory.BindAsync(It.IsAny<EndPoint>(), It.IsAny<CancellationToken>()))
808.Returns<EndPoint, CancellationToken>((e, token) =>
945.Setup(transportFactory => transportFactory.BindAsync(It.IsAny<EndPoint>(), It.IsAny<CancellationToken>()))
946.Returns<EndPoint, CancellationToken>((e, token) =>
993public ValueTask<IConnectionListener> BindAsync(EndPoint endpoint, CancellationToken cancellationToken = default)
995EndPoint resolvedEndPoint = endpoint;
1015public ValueTask<IConnectionListener> BindAsync(EndPoint endpoint, CancellationToken cancellationToken = default)
1023public ValueTask<IConnectionListener> BindAsync(EndPoint endpoint, CancellationToken cancellationToken = default)
1028public bool CanBind(EndPoint endpoint) => false;
1033public ValueTask<IMultiplexedConnectionListener> BindAsync(EndPoint endpoint, IFeatureCollection features = null, CancellationToken cancellationToken = default)
1038public bool CanBind(EndPoint endpoint) => false;
1045public ValueTask<IMultiplexedConnectionListener> BindAsync(EndPoint endpoint, IFeatureCollection features = null, CancellationToken cancellationToken = default)
1047EndPoint resolvedEndPoint = endpoint;
1065private record BindDetail(EndPoint OriginalEndPoint, EndPoint BoundEndPoint);
Microsoft.AspNetCore.Server.Kestrel.Microbenchmarks (8)
Microsoft.AspNetCore.Server.Kestrel.Transport.NamedPipes (5)
Microsoft.AspNetCore.Server.Kestrel.Transport.Quic (8)
Microsoft.AspNetCore.Server.Kestrel.Transport.Quic.Tests (1)
Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets (11)
Microsoft.AspNetCore.SignalR.Client (1)
Microsoft.AspNetCore.SignalR.Client.Core (8)
Microsoft.AspNetCore.SignalR.Client.FunctionalTests (2)
Microsoft.AspNetCore.SignalR.Client.Tests (9)
Microsoft.AspNetCore.SignalR.StackExchangeRedis.Tests (5)
Microsoft.AspNetCore.SignalR.Tests.Utils (3)
Microsoft.Extensions.ServiceDiscovery (7)
Microsoft.Extensions.ServiceDiscovery.Abstractions (4)
Microsoft.Extensions.ServiceDiscovery.Dns (2)
Microsoft.Extensions.ServiceDiscovery.Dns.Tests (1)
Microsoft.Extensions.ServiceDiscovery.Tests (11)
Microsoft.Gen.Logging.Generated.Tests (1)
netstandard (1)
Sockets.BindTests (5)
System (1)
System.Net (1)
System.Net.Ping (2)
System.Net.Primitives (2)
System.Net.Quic (1)
System.Net.Sockets (48)
artifacts\obj\System.Net.Sockets\Debug\net10.0\System.Net.Sockets.notsupported.cs (48)
281public System.Net.EndPoint? LocalEndPoint { get { throw new System.PlatformNotSupportedException(System.SR.SystemNetSockets_PlatformNotSupported); } }
290public System.Net.EndPoint? RemoteEndPoint { get { throw new System.PlatformNotSupportedException(System.SR.SystemNetSockets_PlatformNotSupported); } }
312public System.IAsyncResult BeginConnect(System.Net.EndPoint remoteEP, System.AsyncCallback? callback, object? state) { throw new System.PlatformNotSupportedException(System.SR.SystemNetSockets_PlatformNotSupported); }
321public System.IAsyncResult BeginReceiveFrom(byte[] buffer, int offset, int size, System.Net.Sockets.SocketFlags socketFlags, ref System.Net.EndPoint remoteEP, System.AsyncCallback? callback, object? state) { throw new System.PlatformNotSupportedException(System.SR.SystemNetSockets_PlatformNotSupported); }
322public System.IAsyncResult BeginReceiveMessageFrom(byte[] buffer, int offset, int size, System.Net.Sockets.SocketFlags socketFlags, ref System.Net.EndPoint remoteEP, System.AsyncCallback? callback, object? state) { throw new System.PlatformNotSupportedException(System.SR.SystemNetSockets_PlatformNotSupported); }
329public System.IAsyncResult BeginSendTo(byte[] buffer, int offset, int size, System.Net.Sockets.SocketFlags socketFlags, System.Net.EndPoint remoteEP, System.AsyncCallback? callback, object? state) { throw new System.PlatformNotSupportedException(System.SR.SystemNetSockets_PlatformNotSupported); }
330public void Bind(System.Net.EndPoint localEP) { throw new System.PlatformNotSupportedException(System.SR.SystemNetSockets_PlatformNotSupported); }
334public void Connect(System.Net.EndPoint remoteEP) { throw new System.PlatformNotSupportedException(System.SR.SystemNetSockets_PlatformNotSupported); }
338public System.Threading.Tasks.Task ConnectAsync(System.Net.EndPoint remoteEP) { throw new System.PlatformNotSupportedException(System.SR.SystemNetSockets_PlatformNotSupported); }
339public System.Threading.Tasks.ValueTask ConnectAsync(System.Net.EndPoint remoteEP, System.Threading.CancellationToken cancellationToken) { throw new System.PlatformNotSupportedException(System.SR.SystemNetSockets_PlatformNotSupported); }
362public int EndReceiveFrom(System.IAsyncResult asyncResult, ref System.Net.EndPoint endPoint) { throw new System.PlatformNotSupportedException(System.SR.SystemNetSockets_PlatformNotSupported); }
363public int EndReceiveMessageFrom(System.IAsyncResult asyncResult, ref System.Net.Sockets.SocketFlags socketFlags, ref System.Net.EndPoint endPoint, out System.Net.Sockets.IPPacketInformation ipPacketInformation) { throw new System.PlatformNotSupportedException(System.SR.SystemNetSockets_PlatformNotSupported); }
397public int ReceiveFrom(byte[] buffer, int offset, int size, System.Net.Sockets.SocketFlags socketFlags, ref System.Net.EndPoint remoteEP) { throw new System.PlatformNotSupportedException(System.SR.SystemNetSockets_PlatformNotSupported); }
398public int ReceiveFrom(byte[] buffer, int size, System.Net.Sockets.SocketFlags socketFlags, ref System.Net.EndPoint remoteEP) { throw new System.PlatformNotSupportedException(System.SR.SystemNetSockets_PlatformNotSupported); }
399public int ReceiveFrom(byte[] buffer, ref System.Net.EndPoint remoteEP) { throw new System.PlatformNotSupportedException(System.SR.SystemNetSockets_PlatformNotSupported); }
400public int ReceiveFrom(byte[] buffer, System.Net.Sockets.SocketFlags socketFlags, ref System.Net.EndPoint remoteEP) { throw new System.PlatformNotSupportedException(System.SR.SystemNetSockets_PlatformNotSupported); }
401public int ReceiveFrom(System.Span<byte> buffer, ref System.Net.EndPoint remoteEP) { throw new System.PlatformNotSupportedException(System.SR.SystemNetSockets_PlatformNotSupported); }
402public int ReceiveFrom(System.Span<byte> buffer, System.Net.Sockets.SocketFlags socketFlags, ref System.Net.EndPoint remoteEP) { throw new System.PlatformNotSupportedException(System.SR.SystemNetSockets_PlatformNotSupported); }
404public System.Threading.Tasks.Task<System.Net.Sockets.SocketReceiveFromResult> ReceiveFromAsync(System.ArraySegment<byte> buffer, System.Net.EndPoint remoteEndPoint) { throw new System.PlatformNotSupportedException(System.SR.SystemNetSockets_PlatformNotSupported); }
405public System.Threading.Tasks.Task<System.Net.Sockets.SocketReceiveFromResult> ReceiveFromAsync(System.ArraySegment<byte> buffer, System.Net.Sockets.SocketFlags socketFlags, System.Net.EndPoint remoteEndPoint) { throw new System.PlatformNotSupportedException(System.SR.SystemNetSockets_PlatformNotSupported); }
406public System.Threading.Tasks.ValueTask<System.Net.Sockets.SocketReceiveFromResult> ReceiveFromAsync(System.Memory<byte> buffer, System.Net.EndPoint remoteEndPoint, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw new System.PlatformNotSupportedException(System.SR.SystemNetSockets_PlatformNotSupported); }
407public System.Threading.Tasks.ValueTask<System.Net.Sockets.SocketReceiveFromResult> ReceiveFromAsync(System.Memory<byte> buffer, System.Net.Sockets.SocketFlags socketFlags, System.Net.EndPoint remoteEndPoint, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw new System.PlatformNotSupportedException(System.SR.SystemNetSockets_PlatformNotSupported); }
410public int ReceiveMessageFrom(byte[] buffer, int offset, int size, ref System.Net.Sockets.SocketFlags socketFlags, ref System.Net.EndPoint remoteEP, out System.Net.Sockets.IPPacketInformation ipPacketInformation) { throw new System.PlatformNotSupportedException(System.SR.SystemNetSockets_PlatformNotSupported); }
411public int ReceiveMessageFrom(System.Span<byte> buffer, ref System.Net.Sockets.SocketFlags socketFlags, ref System.Net.EndPoint remoteEP, out System.Net.Sockets.IPPacketInformation ipPacketInformation) { throw new System.PlatformNotSupportedException(System.SR.SystemNetSockets_PlatformNotSupported); }
412public System.Threading.Tasks.Task<System.Net.Sockets.SocketReceiveMessageFromResult> ReceiveMessageFromAsync(System.ArraySegment<byte> buffer, System.Net.EndPoint remoteEndPoint) { throw new System.PlatformNotSupportedException(System.SR.SystemNetSockets_PlatformNotSupported); }
413public System.Threading.Tasks.Task<System.Net.Sockets.SocketReceiveMessageFromResult> ReceiveMessageFromAsync(System.ArraySegment<byte> buffer, System.Net.Sockets.SocketFlags socketFlags, System.Net.EndPoint remoteEndPoint) { throw new System.PlatformNotSupportedException(System.SR.SystemNetSockets_PlatformNotSupported); }
414public System.Threading.Tasks.ValueTask<System.Net.Sockets.SocketReceiveMessageFromResult> ReceiveMessageFromAsync(System.Memory<byte> buffer, System.Net.EndPoint remoteEndPoint, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw new System.PlatformNotSupportedException(System.SR.SystemNetSockets_PlatformNotSupported); }
415public System.Threading.Tasks.ValueTask<System.Net.Sockets.SocketReceiveMessageFromResult> ReceiveMessageFromAsync(System.Memory<byte> buffer, System.Net.Sockets.SocketFlags socketFlags, System.Net.EndPoint remoteEndPoint, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw new System.PlatformNotSupportedException(System.SR.SystemNetSockets_PlatformNotSupported); }
443public int SendTo(byte[] buffer, int offset, int size, System.Net.Sockets.SocketFlags socketFlags, System.Net.EndPoint remoteEP) { throw new System.PlatformNotSupportedException(System.SR.SystemNetSockets_PlatformNotSupported); }
444public int SendTo(byte[] buffer, int size, System.Net.Sockets.SocketFlags socketFlags, System.Net.EndPoint remoteEP) { throw new System.PlatformNotSupportedException(System.SR.SystemNetSockets_PlatformNotSupported); }
445public int SendTo(byte[] buffer, System.Net.EndPoint remoteEP) { throw new System.PlatformNotSupportedException(System.SR.SystemNetSockets_PlatformNotSupported); }
446public int SendTo(byte[] buffer, System.Net.Sockets.SocketFlags socketFlags, System.Net.EndPoint remoteEP) { throw new System.PlatformNotSupportedException(System.SR.SystemNetSockets_PlatformNotSupported); }
447public int SendTo(System.ReadOnlySpan<byte> buffer, System.Net.EndPoint remoteEP) { throw new System.PlatformNotSupportedException(System.SR.SystemNetSockets_PlatformNotSupported); }
448public int SendTo(System.ReadOnlySpan<byte> buffer, System.Net.Sockets.SocketFlags socketFlags, System.Net.EndPoint remoteEP) { throw new System.PlatformNotSupportedException(System.SR.SystemNetSockets_PlatformNotSupported); }
450public System.Threading.Tasks.Task<int> SendToAsync(System.ArraySegment<byte> buffer, System.Net.EndPoint remoteEP) { throw new System.PlatformNotSupportedException(System.SR.SystemNetSockets_PlatformNotSupported); }
451public System.Threading.Tasks.Task<int> SendToAsync(System.ArraySegment<byte> buffer, System.Net.Sockets.SocketFlags socketFlags, System.Net.EndPoint remoteEP) { throw new System.PlatformNotSupportedException(System.SR.SystemNetSockets_PlatformNotSupported); }
453public System.Threading.Tasks.ValueTask<int> SendToAsync(System.ReadOnlyMemory<byte> buffer, System.Net.EndPoint remoteEP, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw new System.PlatformNotSupportedException(System.SR.SystemNetSockets_PlatformNotSupported); }
454public System.Threading.Tasks.ValueTask<int> SendToAsync(System.ReadOnlyMemory<byte> buffer, System.Net.Sockets.SocketFlags socketFlags, System.Net.EndPoint remoteEP, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw new System.PlatformNotSupportedException(System.SR.SystemNetSockets_PlatformNotSupported); }
481public System.Net.EndPoint? RemoteEndPoint { get { throw new System.PlatformNotSupportedException(System.SR.SystemNetSockets_PlatformNotSupported); } set { throw new System.PlatformNotSupportedException(System.SR.SystemNetSockets_PlatformNotSupported); } }
603public System.Net.EndPoint RemoteEndPoint;
609public System.Net.EndPoint RemoteEndPoint;
626public static System.Threading.Tasks.Task ConnectAsync(this System.Net.Sockets.Socket socket, System.Net.EndPoint remoteEP) { throw new System.PlatformNotSupportedException(System.SR.SystemNetSockets_PlatformNotSupported); }
628public static System.Threading.Tasks.ValueTask ConnectAsync(this System.Net.Sockets.Socket socket, System.Net.EndPoint remoteEP, System.Threading.CancellationToken cancellationToken) { throw new System.PlatformNotSupportedException(System.SR.SystemNetSockets_PlatformNotSupported); }
648public static System.Threading.Tasks.Task<System.Net.Sockets.SocketReceiveFromResult> ReceiveFromAsync(this System.Net.Sockets.Socket socket, System.ArraySegment<byte> buffer, System.Net.Sockets.SocketFlags socketFlags, System.Net.EndPoint remoteEndPoint) { throw new System.PlatformNotSupportedException(System.SR.SystemNetSockets_PlatformNotSupported); }
650public static System.Threading.Tasks.Task<System.Net.Sockets.SocketReceiveMessageFromResult> ReceiveMessageFromAsync(this System.Net.Sockets.Socket socket, System.ArraySegment<byte> buffer, System.Net.Sockets.SocketFlags socketFlags, System.Net.EndPoint remoteEndPoint) { throw new System.PlatformNotSupportedException(System.SR.SystemNetSockets_PlatformNotSupported); }
658public static System.Threading.Tasks.Task<int> SendToAsync(this System.Net.Sockets.Socket socket, System.ArraySegment<byte> buffer, System.Net.Sockets.SocketFlags socketFlags, System.Net.EndPoint remoteEP) { throw new System.PlatformNotSupportedException(System.SR.SystemNetSockets_PlatformNotSupported); }
717public System.Net.EndPoint LocalEndpoint { get { throw new System.PlatformNotSupportedException(System.SR.SystemNetSockets_PlatformNotSupported); } }
820public override System.Net.EndPoint Create(System.Net.SocketAddress socketAddress) { throw new System.PlatformNotSupportedException(System.SR.SystemNetSockets_PlatformNotSupported); }