Dns.GetHostByAddress Methode
Definitie
Belangrijk
Bepaalde informatie heeft betrekking op een voorlopige productversie die aanzienlijk kan worden gewijzigd voordat deze wordt uitgebracht. Microsoft biedt geen enkele expliciete of impliciete garanties met betrekking tot de informatie die hier wordt verstrekt.
Hiermee haalt u DNS-hostgegevens op voor een IP-adres. Deze methoden zijn nu verouderd.
Overloads
| Name | Description |
|---|---|
| GetHostByAddress(IPAddress) |
Verouderd.
Verouderd.
Verouderd.
Hiermee maakt u een IPHostEntry exemplaar van de opgegeven IPAddress. |
| GetHostByAddress(String) |
Verouderd.
Verouderd.
Verouderd.
Hiermee maakt u een IPHostEntry exemplaar van een IP-adres. |
GetHostByAddress(IPAddress)
- Bron:
- Dns.cs
- Bron:
- Dns.cs
- Bron:
- Dns.cs
- Bron:
- Dns.cs
- Bron:
- Dns.cs
Let op
GetHostByAddress has been deprecated. Use GetHostEntry instead.
Let op
GetHostByAddress is obsoleted for this type, please use GetHostEntry instead. https://go.microsoft.com/fwlink/?linkid=14202
Let op
GetHostByAddress is obsoleted for this type, please use GetHostEntry instead. http://go.microsoft.com/fwlink/?linkid=14202
Hiermee maakt u een IPHostEntry exemplaar van de opgegeven IPAddress.
public:
static System::Net::IPHostEntry ^ GetHostByAddress(System::Net::IPAddress ^ address);
[System.Obsolete("GetHostByAddress has been deprecated. Use GetHostEntry instead.")]
public static System.Net.IPHostEntry GetHostByAddress(System.Net.IPAddress address);
[System.Obsolete("GetHostByAddress is obsoleted for this type, please use GetHostEntry instead. https://go.microsoft.com/fwlink/?linkid=14202")]
public static System.Net.IPHostEntry GetHostByAddress(System.Net.IPAddress address);
[System.Obsolete("GetHostByAddress is obsoleted for this type, please use GetHostEntry instead. http://go.microsoft.com/fwlink/?linkid=14202")]
public static System.Net.IPHostEntry GetHostByAddress(System.Net.IPAddress address);
public static System.Net.IPHostEntry GetHostByAddress(System.Net.IPAddress address);
[<System.Obsolete("GetHostByAddress has been deprecated. Use GetHostEntry instead.")>]
static member GetHostByAddress : System.Net.IPAddress -> System.Net.IPHostEntry
[<System.Obsolete("GetHostByAddress is obsoleted for this type, please use GetHostEntry instead. https://go.microsoft.com/fwlink/?linkid=14202")>]
static member GetHostByAddress : System.Net.IPAddress -> System.Net.IPHostEntry
[<System.Obsolete("GetHostByAddress is obsoleted for this type, please use GetHostEntry instead. http://go.microsoft.com/fwlink/?linkid=14202")>]
static member GetHostByAddress : System.Net.IPAddress -> System.Net.IPHostEntry
static member GetHostByAddress : System.Net.IPAddress -> System.Net.IPHostEntry
Public Shared Function GetHostByAddress (address As IPAddress) As IPHostEntry
Parameters
Retouren
Een IPHostEntry exemplaar.
- Kenmerken
Uitzonderingen
address is null.
Er is een fout opgetreden bij het oplossen van het probleem address.
Opmerkingen
Note
Dit lid verzendt traceringsgegevens wanneer u netwerktracering inschakelt in uw toepassing. Zie Network Tracing in .NET Framework voor meer informatie.
Van toepassing op
GetHostByAddress(String)
- Bron:
- Dns.cs
- Bron:
- Dns.cs
- Bron:
- Dns.cs
- Bron:
- Dns.cs
- Bron:
- Dns.cs
Let op
GetHostByAddress has been deprecated. Use GetHostEntry instead.
Let op
GetHostByAddress is obsoleted for this type, please use GetHostEntry instead. https://go.microsoft.com/fwlink/?linkid=14202
Let op
GetHostByAddress is obsoleted for this type, please use GetHostEntry instead. http://go.microsoft.com/fwlink/?linkid=14202
Hiermee maakt u een IPHostEntry exemplaar van een IP-adres.
public:
static System::Net::IPHostEntry ^ GetHostByAddress(System::String ^ address);
[System.Obsolete("GetHostByAddress has been deprecated. Use GetHostEntry instead.")]
public static System.Net.IPHostEntry GetHostByAddress(string address);
[System.Obsolete("GetHostByAddress is obsoleted for this type, please use GetHostEntry instead. https://go.microsoft.com/fwlink/?linkid=14202")]
public static System.Net.IPHostEntry GetHostByAddress(string address);
[System.Obsolete("GetHostByAddress is obsoleted for this type, please use GetHostEntry instead. http://go.microsoft.com/fwlink/?linkid=14202")]
public static System.Net.IPHostEntry GetHostByAddress(string address);
public static System.Net.IPHostEntry GetHostByAddress(string address);
[<System.Obsolete("GetHostByAddress has been deprecated. Use GetHostEntry instead.")>]
static member GetHostByAddress : string -> System.Net.IPHostEntry
[<System.Obsolete("GetHostByAddress is obsoleted for this type, please use GetHostEntry instead. https://go.microsoft.com/fwlink/?linkid=14202")>]
static member GetHostByAddress : string -> System.Net.IPHostEntry
[<System.Obsolete("GetHostByAddress is obsoleted for this type, please use GetHostEntry instead. http://go.microsoft.com/fwlink/?linkid=14202")>]
static member GetHostByAddress : string -> System.Net.IPHostEntry
static member GetHostByAddress : string -> System.Net.IPHostEntry
Public Shared Function GetHostByAddress (address As String) As IPHostEntry
Parameters
- address
- String
Een IP-adres.
Retouren
Een IPHostEntry exemplaar.
- Kenmerken
Uitzonderingen
address is null.
Er is een fout opgetreden bij het oplossen van het probleem address.
address is geen geldig IP-adres.
Opmerkingen
Note
Dit lid verzendt traceringsgegevens wanneer u netwerktracering inschakelt in uw toepassing. Zie Network Tracing in the .NET Framework voor meer informatie.