CrossDeviceAuthenticationException.ErrorCode 属性
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
返回与此异常关联的错误代码。
public Android.Security.AuthenticationPolicy.CrossDeviceAuthenticationExceptionErrorCode ErrorCode { [Android.Runtime.Register("getErrorCode", "()I", "", ApiSince=37)] get; }
[<get: Android.Runtime.Register("getErrorCode", "()I", "", ApiSince=37)>]
member this.ErrorCode : Android.Security.AuthenticationPolicy.CrossDeviceAuthenticationExceptionErrorCode
属性值
值为下列值之一:ERROR_UNKNOWN;ERROR_UNAUTHORIZED;ERROR_DECRYPTION_FAILED;ERROR_INVALID_PACKAGE;ERROR_INVALID_TIMESTAMP;ERROR_SERIALIZATION_FAILED;ERROR_NOT_IN_FOREGROUND;ERROR_COMPANION_DEVICE_MANAGER_NOT_PRESENT
- 特性
注解
返回与此异常关联的错误代码。
Android 参考。android.security.authenticationpolicy.CrossDeviceAuthenticationException.getErrorCode
本页的某些部分是根据 Android 开放源代码项目创建和共享的工作进行的修改,并根据 Creative Commons 2.5 属性许可证中所述的术语使用。