语言

SystemUpdatePolicy.ValidationFailedException.ErrorCode 属性

定义

返回与此异常关联的验证错误的类型。

public Android.App.Admin.SystemUpdatePolicyErrorCode ErrorCode { [Android.Runtime.Register("getErrorCode", "()I", "", ApiSince=28)] get; }
[<get: Android.Runtime.Register("getErrorCode", "()I", "", ApiSince=28)>]
member this.ErrorCode : Android.App.Admin.SystemUpdatePolicyErrorCode

属性值

值为下列值之一:ERROR_DUPLICATE_OR_OVERLAP;ERROR_NEW_FREEZE_PERIOD_TOO_LONG;ERROR_NEW_FREEZE_PERIOD_TOO_CLOSE;ERROR_COMBINED_FREEZE_PERIOD_TOO_LONG;ERROR_COMBINED_FREEZE_PERIOD_TOO_CLOSE;ERROR_UNKNOWN

属性

注解

返回与此异常关联的验证错误的类型。

Java文档android.app.admin.SystemUpdatePolicy.ValidationFailedException.getErrorCode()。

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

适用于