HealthConnectException.ErrorCode Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the reason for this exception.
public virtual Android.Health.Connect.HealthConnectExceptionErrorReason ErrorCode { [Android.Runtime.Register("getErrorCode", "()I", "GetGetErrorCodeHandler", ApiSince=34)] get; }
[<get: Android.Runtime.Register("getErrorCode", "()I", "GetGetErrorCodeHandler", ApiSince=34)>]
member this.ErrorCode : Android.Health.Connect.HealthConnectExceptionErrorReason
Property Value
One of the HealthConnectExceptionErrorReason values.
- Attributes
Remarks
The Java getErrorCode method returns one of the ERROR_* constants of the Java HealthConnectException class. The .NET binding exposes these constants as HealthConnectExceptionErrorReason values.