編輯

共用方式為


CNErrorCodeExtensions Class

Definition

Extension methods for the Contacts.CNErrorCode enumeration.

[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 9, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 11, ObjCRuntime.PlatformArchitecture.All, null)]
public static class CNErrorCodeExtensions
type CNErrorCodeExtensions = class
Inheritance
CNErrorCodeExtensions
Attributes

Remarks

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

Methods

GetDomain(CNErrorCode)

Returns the error domain associated with the Contacts.CNErrorCode value

Applies to