语言

DevicePolicyManager.PrivateDnsSetNoError 字段

定义

注意

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

已成功设置所选模式。

[Android.Runtime.Register("PRIVATE_DNS_SET_NO_ERROR", 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 PrivateDnsSetNoError = 0;
[<Android.Runtime.Register("PRIVATE_DNS_SET_NO_ERROR", 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 PrivateDnsSetNoError : Android.App.Admin.PrivateDnsSet

字段值

Value = 0
特性

注解

已成功设置所选模式。 如果模式为模式 PRIVATE_DNS_MODE_PROVIDER_HOSTNAME ,则表示提供的主机有效且可访问。

Java文档android.app.admin.DevicePolicyManager.PRIVATE_DNS_SET_NO_ERROR。

本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。

适用于