NetworkExceptionCategory Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Category of network error. (See NetworkException)
public enum NetworkExceptionCategory
type NetworkExceptionCategory =
Public Enum NetworkExceptionCategory
- Inheritance
-
NetworkExceptionCategory
Fields
Name | Value | Description |
---|---|---|
Unknown | 0 | Unknown network failure |
FailureResponseCode | 1 | HTTP response code indicates failure |
BadResponse | 2 | HTTP response could not be read |
UnexpectedResponse | 3 | HTTP response completed but contained unexpected data |
NoConnection | 4 | Failed to establish a connection |
Proxy | 5 | Proxy failure |
SSL | 6 | SSL failure |
Timeout | 7 | Connection timed out |
Offline | 8 | Operation requires network connectivity |
Throttled | 9 | HTTP operation failed due to server traffic throttling |
Cancelled | 10 | HTTP operation has been cancelled by the application |
FunctionNotImplemented | 11 | HTTP response code indicates called function is not implemented |
ServiceUnavailable | 12 | HTTP response code indicates service is unavailable |