UNErrorCode 枚举
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
枚举发出通知请求时可能发生的附加文件错误。
[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 enum UNErrorCode
type UNErrorCode =
- 继承
-
UNErrorCode
- 属性
字段
名称 | 值 | 说明 |
---|---|---|
AttachmentCorrupt | 105 | 附加的文件已损坏。 |
AttachmentInvalidFileSize | 102 | 附加文件太大。 |
AttachmentInvalidUrl | 100 | 文件的 URL 无效。 |
AttachmentMoveIntoDataStoreFailed | 104 | 无法将附件移动到系统数据存储区。 |
AttachmentNotInDataStore | 103 | 本地附加文件不存在。 |
AttachmentUnrecognizedType | 101 | 无法识别附加文件的类型。 |
NotificationInvalidNoContent | 1401 | |
NotificationInvalidNoDate | 1400 | |
NotificationsNotAllowed | 1 | 不允许应用提交通知请求。 |