편집

다음을 통해 공유


HKErrorCodeExtensions.GetDomain(HKErrorCode) Method

Definition

Returns the error domain associated with the HealthKit.HKErrorCode value

public static Foundation.NSString GetDomain (this HealthKit.HKErrorCode self);
static member GetDomain : HealthKit.HKErrorCode -> Foundation.NSString

Parameters

self
HKErrorCode

The enumeration value

Returns

Remarks

See the NSError for information on how to use the error domains when reporting errors.

Applies to