EndPoint.AddressFamily Property

Definition

Gets the address family to which the endpoint belongs.

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

Property Value

AddressFamily

One of the AddressFamily values.

Exceptions

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 that is used by the endpoint's underlying network protocol.

Applies to