Edit

Share via


VNErrorCodeExtensions Class

Definition

Extension methods for the Vision.VNErrorCode enumeration.

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

Remarks

The extension method for the Vision.VNErrorCode enumeration can be used to fetch the error ___domain associated with these error codes.

Methods

GetDomain(VNErrorCode)

Returns the error ___domain associated with the Vision.VNErrorCode value

Applies to