Share via


MXErrorCodeExtensions.GetDomain(MXErrorCode) Method

Definition

Returns the error domain associated with the MetricKit.MXErrorCode value

public static Foundation.NSString? GetDomain(this MetricKit.MXErrorCode self);
static member GetDomain : MetricKit.MXErrorCode -> Foundation.NSString

Parameters

self
MXErrorCode

The enumeration value

Returns

Remarks

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

Applies to