共用方式為


UNErrorCode 列舉

定義

列舉發出通知要求時可能發生的附加檔案錯誤。

[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
屬性

欄位

名稱 Description
AttachmentCorrupt 105

附加的檔案已損毀。

AttachmentInvalidFileSize 102

附加的檔案太大。

AttachmentInvalidUrl 100

檔案的 URL 無效。

AttachmentMoveIntoDataStoreFailed 104

附件無法移至系統資料存放區。

AttachmentNotInDataStore 103

本機附加檔案不存在。

AttachmentUnrecognizedType 101

無法辨識附加檔案的類型。

NotificationInvalidNoContent 1401
NotificationInvalidNoDate 1400
NotificationsNotAllowed 1

不允許應用程式提交通知要求。

適用於