EndPoint.AddressFamily 属性

定义

获取终结点所属的地址族。

public:
 virtual property System::Net::Sockets::AddressFamily AddressFamily { System::Net::Sockets::AddressFamily get(); };
public virtual System.Net.Sockets.AddressFamily AddressFamily { get; }
member this.AddressFamily : System.Net.Sockets.AddressFamily
Public Overridable ReadOnly Property AddressFamily As AddressFamily

属性值

AddressFamily 值之一。

例外

当未在子类中重写该属性时,为获取或设置属性进行的任何尝试。

注解

属性 AddressFamily 指定终结点的基础网络协议使用的寻址方案。

适用于