Partager via


NSUrlError Énumération

Définition

Énumération des erreurs associées à la création ou au chargement d’un NSUrl.

public enum NSUrlError
type NSUrlError = 
Héritage
NSUrlError

Champs

Nom Valeur Description
DownloadDecodingFailedToComplete -3007
DownloadDecodingFailedMidStream -3006
CannotMoveFile -3005
CannotRemoveFile -3004
CannotWriteToFile -3003
CannotCloseFile -3002
CannotOpenFile -3001
CannotCreateFile -3000
CannotLoadFromNetwork -2000
ClientCertificateRequired -1206
ClientCertificateRejected -1205
ServerCertificateNotYetValid -1204
ServerCertificateHasUnknownRoot -1203
ServerCertificateUntrusted -1202
ServerCertificateHasBadDate -1201
SecureConnectionFailed -1200
FileOutsideSafeArea -1104
DataLengthExceedsMaximum -1103
NoPermissionsToReadFile -1102
FileIsDirectory -1101
FileDoesNotExist -1100
AppTransportSecurityRequiresSecureConnection -1022
RequestBodyStreamExhausted -1021
DataNotAllowed -1020
CallIsActive -1019
InternationalRoamingOff -1018
CannotParseResponse -1017
CannotDecodeContentData -1016
CannotDecodeRawData -1015
ZeroByteResource -1014
UserAuthenticationRequired -1013
UserCancelledAuthentication -1012
BadServerResponse -1011
RedirectToNonExistentLocation -1010
NotConnectedToInternet -1009
ResourceUnavailable -1008
HTTPTooManyRedirects -1007
DNSLookupFailed -1006
NetworkConnectionLost -1005
CannotConnectToHost -1004
CannotFindHost -1003
UnsupportedURL -1002
TimedOut -1001
BadURL -1000
Cancelled -999
BackgroundSessionWasDisconnected -997
BackgroundSessionInUseByAnotherProcess -996
BackgroundSessionRequiresSharedContainer -995
Unknown -1

S’applique à