Modifier

Partager via


UNErrorCodeExtensions Class

Definition

Extension methods for the UserNotifications.UNErrorCode enumeration.

[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 10, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.TvOS, 10, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.WatchOS, 3, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 14, ObjCRuntime.PlatformArchitecture.Arch64, null)]
public static class UNErrorCodeExtensions
type UNErrorCodeExtensions = class
Inheritance
UNErrorCodeExtensions
Attributes

Remarks

The extension method for the UserNotifications.UNErrorCode enumeration can be used to fetch the error domain associated with these error codes.

Methods

GetDomain(UNErrorCode)

Returns the error domain associated with the UserNotifications.UNErrorCode value

Applies to