共用方式為


CLSErrorCode 列舉

定義

列舉 ClassKit 錯誤碼。

[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 11, 4, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.WatchOS, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.MacOSX, ObjCRuntime.PlatformArchitecture.All, null)]
public enum CLSErrorCode
type CLSErrorCode = 
繼承
CLSErrorCode
屬性

欄位

AuthorizationDenied 4

作業的授權遭到拒絕。

ClassKitUnavailable 1

ClassKit 無法使用

DatabaseInaccessible 5

無法存取資料庫。

InvalidArgument 2

引數無效。

InvalidCreate 7

嘗試儲存與現有物件相同的已建立物件。

InvalidModification 3

嘗試修改唯讀值。

InvalidUpdate 8

更新失敗。

Limits 6

超過未指定的限制。

None 0

未發生任何錯誤。

PartialFailure 9

發生多個錯誤,因此最上層的錯誤有基礎錯誤或錯誤。

適用於