共用方式為


DevicePolicyManager.PrivateDnsSetErrorHostNotServing Field

Definition

Caution

This constant will be removed in the future version. Use Android.App.Admin.PrivateDnsSet enum directly instead of this field.

If the privateDnsHost provided was of a valid hostname but that host was found to not support DNS-over-TLS.

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

Field Value

Value = 1
Attributes

Remarks

If the privateDnsHost provided was of a valid hostname but that host was found to not support DNS-over-TLS.

Java documentation for android.app.admin.DevicePolicyManager.PRIVATE_DNS_SET_ERROR_HOST_NOT_SERVING.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to