共用方式為


WKErrorCodeExtensions 類別

定義

WatchKit.WKErrorCode 列舉的擴充方法。

[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 8, 2, ObjCRuntime.PlatformArchitecture.All, null)]
public static class WKErrorCodeExtensions
type WKErrorCodeExtensions = class
繼承
WKErrorCodeExtensions
屬性

備註

WatchKit.WKErrorCode 列舉的擴充方法可用來擷取與這些錯誤碼相關聯的錯誤網域。

方法

GetDomain(WKErrorCode)

傳回與 WatchKit.WKErrorCode 值相關聯的錯誤網域

適用於