DeviceNetworkInformation.ResolveHostNameAsync Method (DnsEndPoint, NameResolutionCallback, Object)
Namespace: Microsoft.Phone.Net.NetworkInformation
Assembly: Microsoft.Phone (in Microsoft.Phone.dll)
Syntax
'Declaration
Public Shared Sub ResolveHostNameAsync ( _
endPoint As DnsEndPoint, _
callback As NameResolutionCallback, _
context As Object _
)
public static void ResolveHostNameAsync(
DnsEndPoint endPoint,
NameResolutionCallback callback,
Object context
)
public:
static void ResolveHostNameAsync(
DnsEndPoint^ endPoint,
NameResolutionCallback^ callback,
Object^ context
)
static member ResolveHostNameAsync :
endPoint:DnsEndPoint *
callback:NameResolutionCallback *
context:Object -> unit
Parameters
- endPoint
Type: System.Net.DnsEndPoint
- context
Type: System.Object
Version Information
.NET for Windows Phone apps
Supported in: Windows Phone 8, Silverlight 8.1
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.