ConnectivitySettings.ResolveDnsCallback 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.
Allows configuring a delegate to resolve a host name into an IP address. The input Uri contains the scheme, host, and port being resolved. The resulting Task may return an IP address for the input host or just the original host name.
public Func<Uri,System.Threading.Tasks.Task<string>> ResolveDnsCallback { get; set; }
member this.ResolveDnsCallback : Func<Uri, System.Threading.Tasks.Task<string>> with get, set
Public Property ResolveDnsCallback As Func(Of Uri, Task(Of String))