共用方式為


ConnectivitySettings.ResolveDnsCallback Property

Definition

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))

Property Value

Applies to