CFNetworkErrors 枚举
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
public enum CFNetworkErrors
type CFNetworkErrors =
- 继承
-
CFNetworkErrors
字段
名称 | 值 | 说明 |
---|---|---|
NetServiceDnsServiceFailure | -73000 | |
NetServiceTimeout | -72007 | |
NetServiceInvalid | -72006 | |
NetServiceCancel | -72005 | |
NetServiceBadArgument | -72004 | |
NetServiceInProgress | -72003 | |
NetServiceNotFound | -72002 | |
NetServiceCollision | -72001 | |
NetServiceUnknown | -72000 | |
CannotParseCookieFile | -4000 | |
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 | |
Unknown | -998 | |
BackgroundSessionWasDisconnected | -997 | |
BackgroundSessionInUseByAnotherProcess | -996 | |
HostNotFound | 1 | |
HostUnknown | 2 | |
SocksUnknownClientVersion | 100 | |
SocksUnsupportedServerVersion | 101 | |
Socks4RequestFailed | 110 | |
Socks4IdentdFailed | 111 | |
Socks4IdConflict | 112 | |
Socks4UnknownStatusCode | 113 | |
Socks5BadState | 120 | |
Socks5BadResponseAddr | 121 | |
Socks5BadCredentials | 122 | |
Socks5UnsupportedNegotiationMethod | 123 | |
Socks5NoAcceptableMethod | 124 | |
FtpUnexpectedStatusCode | 200 | |
HttpAuthenticationTypeUnsupported | 300 | |
HttpBadCredentials | 301 | |
HttpConnectionLost | 302 | |
HttpParseFailure | 303 | |
HttpRedirectionLoopDetected | 304 | |
HttpBadURL | 305 | |
HttpProxyConnectionFailure | 306 | |
HttpBadProxyCredentials | 307 | |
PacFileError | 308 | |
PacFileAuth | 309 | |
HttpsProxyConnectionFailure | 310 | |
HttpsProxyFailureUnexpectedResponseToConnectMethod | 311 |