| File: System\Net\EndPoint.cs | Web Access |
| Project: src\runtime\src\libraries\System.Net.Primitives\src\System.Net.Primitives.csproj (System.Net.Primitives) |
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. using System; using System.Net.Sockets; using System.Runtime.InteropServices; namespace System.Net { /// <devdoc> /// <para> /// Identifies a network address. /// </para> /// </devdoc> public abstract class EndPoint { /// <devdoc> /// <para> /// Returns the Address Family to which the EndPoint belongs. /// </para> /// </devdoc> public virtual AddressFamily AddressFamily { get { throw NotImplemented.ByDesignWithMessage(SR.net_PropertyNotImplementedException); } } /// <devdoc> /// <para> /// Serializes EndPoint information into a SocketAddress structure. /// </para> /// </devdoc> public virtual SocketAddress Serialize() { throw NotImplemented.ByDesignWithMessage(SR.net_MethodNotImplementedException); } /// <devdoc> /// <para> /// Creates an EndPoint instance from a SocketAddress structure. /// </para> /// </devdoc> public virtual EndPoint Create(SocketAddress socketAddress) { throw NotImplemented.ByDesignWithMessage(SR.net_MethodNotImplementedException); } } }