Share via


NIErrorCodeExtensions.GetDomain(NIErrorCode) Method

Definition

Returns the error domain associated with the NearbyInteraction.NIErrorCode value

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

Parameters

self
NIErrorCode

The enumeration value

Returns

Remarks

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

Applies to