UNErrorCodeExtensions.GetDomain(UNErrorCode) Method

Definition

Returns the error domain associated with the UserNotifications.UNErrorCode value

public static Foundation.NSString GetDomain (this UserNotifications.UNErrorCode self);
static member GetDomain : UserNotifications.UNErrorCode -> Foundation.NSString

Parameters

self
UNErrorCode

The enumeration value

Returns

Tthe error domain for the error code.

Remarks

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

Applies to