Begins to asynchronously lookup the host name(s) for an IP address.
Namespace:
JHSoftwareAssembly: JHSoftware.DnsClient (in JHSoftware.DnsClient.dll) Version: 1.0.1.0 (1.0.1.0)
Syntax
| C# |
|---|
public static IAsyncResult BeginLookupReverse( IPAddress ipAddress, DnsClient..::.RequestOptions options, AsyncCallback callback, Object state ) |
| Visual Basic (Declaration) |
|---|
Public Shared Function BeginLookupReverse ( _ ipAddress As IPAddress, _ options As DnsClient..::.RequestOptions, _ callback As AsyncCallback, _ state As Object _ ) As IAsyncResult |
Parameters
- ipAddress
- Type: System.Net..::.IPAddress
The IP address to look up reverse DNS for.
- options
- Type: JHSoftware..::.DnsClient..::.RequestOptions
The options to use with the DNS request. Specify null/Nothing for default options.
- callback
- Type: System..::.AsyncCallback
The AsyncCallback delegate.
- state
- Type: System..::.Object
An object that contains state information for this request.
Return Value
An IAsyncResult that references the asynchronous operation.
Exceptions
| Exception | Condition |
|---|---|
| System..::.ArgumentNullException | ipAddress is null/nothing. |
| JHSoftware..::.DnsClient..::.NoDnsServersException | No DNS servers where specified, and no DNS servers could be found in this computer's IP configuration |