语言

DnsResolver.FlagNoRetry 字段

定义

注意

This constant will be removed in the future version. Use Android.Net.DnsResolverFlag enum directly instead of this field.

请求不重试。 某些 Android 版本可能会重试加密的 DNS 查询,或尝试多个加密的 DNS 服务器。

[Android.Runtime.Register("FLAG_NO_RETRY", ApiSince=29)]
[System.Obsolete("This constant will be removed in the future version. Use Android.Net.DnsResolverFlag enum directly instead of this field.", true)]
public const Android.Net.DnsResolverFlag FlagNoRetry = 1;
[<Android.Runtime.Register("FLAG_NO_RETRY", ApiSince=29)>]
[<System.Obsolete("This constant will be removed in the future version. Use Android.Net.DnsResolverFlag enum directly instead of this field.", true)>]
val mutable FlagNoRetry : Android.Net.DnsResolverFlag

字段值

Value = 1
特性

注解

Java文档android.net.DnsResolver.FLAG_NO_RETRY。

适用于