Export (0) Print
Expand All

EndPoint.AddressFamily Property

Gets the address family to which the endpoint belongs.

[Visual Basic]
Public Overridable ReadOnly Property AddressFamily As AddressFamily
[C#]
public virtual AddressFamily AddressFamily {get;}
[C++]
public: __property virtual AddressFamily get_AddressFamily();
[JScript]
public function get AddressFamily() : AddressFamily;

Property Value

One of the AddressFamily values.

Exceptions

Exception Type Condition
NotImplementedException Any attempt is made to get or set the property when the property is not overridden in a descendant class.

Remarks

The AddressFamily property specifies the addressing scheme used by the endpoint's underlying network protocol.

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, .NET Compact Framework, Common Language Infrastructure (CLI) Standard

See Also

EndPoint Class | EndPoint Members | System.Net Namespace

Show:
© 2014 Microsoft