NameResolutionResult Class
Windows Phone
March 22, 2012
Contains the result of an attempt to asynchronously resolve a host name.
Namespace:
Microsoft.Phone.Net.NetworkInformation
Assembly: Microsoft.Phone (in Microsoft.Phone.dll)
XMLNS for XAML: Not mapped to an xmlns.
The NameResolutionResult type exposes the following members.
| Name | Description | |
|---|---|---|
|
NameResolutionResult | Initializes a new instance of the NameResolutionResult class. |
| Name | Description | |
|---|---|---|
|
AsyncState | Gets a user-defined object that contains information about the operation. |
|
HostName | Gets the host name that was submitted to be resolved. |
|
IPEndPoints | Gets IP addresses for the HostName, if the operation succeeded. |
|
NetworkErrorCode | Gets a value that indicates whether an error occurred. |
|
NetworkInterface | Gets the network interface that was used to resolve the host name. |
NameResolutionResult contains the result of calling ResolveHostNameAsync. NameResolutionResult objects are passed to methods invoked by NameResolutionCallback delegates when the asynchronous operation completes.