Partager via


DnsResolver.Query Method

Definition

Overloads

Query(Network, String, DnsResolverFlag, IExecutor, CancellationSignal, DnsResolver+ICallback)
Query(Network, String, DnsResolverType, DnsResolverFlag, IExecutor, CancellationSignal, DnsResolver+ICallback)

Query(Network, String, DnsResolverFlag, IExecutor, CancellationSignal, DnsResolver+ICallback)

[Android.Runtime.Register("query", "(Landroid/net/Network;Ljava/lang/String;ILjava/util/concurrent/Executor;Landroid/os/CancellationSignal;Landroid/net/DnsResolver$Callback;)V", "", ApiSince=29)]
public void Query (Android.Net.Network? network, string domain, Android.Net.DnsResolverFlag flags, Java.Util.Concurrent.IExecutor executor, Android.OS.CancellationSignal? cancellationSignal, Android.Net.DnsResolver.ICallback callback);
[<Android.Runtime.Register("query", "(Landroid/net/Network;Ljava/lang/String;ILjava/util/concurrent/Executor;Landroid/os/CancellationSignal;Landroid/net/DnsResolver$Callback;)V", "", ApiSince=29)>]
member this.Query : Android.Net.Network * string * Android.Net.DnsResolverFlag * Java.Util.Concurrent.IExecutor * Android.OS.CancellationSignal * Android.Net.DnsResolver.ICallback -> unit

Parameters

network
Network
domain
String
executor
IExecutor
cancellationSignal
CancellationSignal
Attributes

Applies to

Query(Network, String, DnsResolverType, DnsResolverFlag, IExecutor, CancellationSignal, DnsResolver+ICallback)

[Android.Runtime.Register("query", "(Landroid/net/Network;Ljava/lang/String;IILjava/util/concurrent/Executor;Landroid/os/CancellationSignal;Landroid/net/DnsResolver$Callback;)V", "", ApiSince=29)]
public void Query (Android.Net.Network? network, string domain, Android.Net.DnsResolverType nsType, Android.Net.DnsResolverFlag flags, Java.Util.Concurrent.IExecutor executor, Android.OS.CancellationSignal? cancellationSignal, Android.Net.DnsResolver.ICallback callback);
[<Android.Runtime.Register("query", "(Landroid/net/Network;Ljava/lang/String;IILjava/util/concurrent/Executor;Landroid/os/CancellationSignal;Landroid/net/DnsResolver$Callback;)V", "", ApiSince=29)>]
member this.Query : Android.Net.Network * string * Android.Net.DnsResolverType * Android.Net.DnsResolverFlag * Java.Util.Concurrent.IExecutor * Android.OS.CancellationSignal * Android.Net.DnsResolver.ICallback -> unit

Parameters

network
Network
domain
String
executor
IExecutor
cancellationSignal
CancellationSignal
Attributes

Applies to