EndPoint.AddressFamily Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
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
Συνεργαστείτε μαζί μας στο GitHub
Μπορείτε να βρείτε την πηγή για αυτό το περιεχόμενο στο GitHub, όπου μπορείτε επίσης να δημιουργήσετε και να εξετάσετε ζητήματα και αιτήματα έλξης. Για περισσότερες πληροφορίες, ανατρέξτε στον οδηγό συνεργατών.