Share via


BGTaskSchedulerErrorCodeExtensions.GetDomain(BGTaskSchedulerErrorCode) Method

Definition

Returns the error domain associated with the BackgroundTasks.BGTaskSchedulerErrorCode value

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

Parameters

self
BGTaskSchedulerErrorCode

The enumeration value

Returns

Remarks

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

Applies to