class ProxyAuthenticationError
Proxy authentication failure.
Summary
Members | Descriptions |
---|---|
public Category GetCategory() const | Gets the category of network failure. |
public int32_t GetResponseStatusCode() const | Gets the HTTP response status code. |
enum Category | Category of network error. |
Members
GetCategory function
Gets the category of network failure.
Returns: Category of network failure
GetResponseStatusCode function
Gets the HTTP response status code.
Returns: HTTP response status code, 0 if none
Category enum
Values | Descriptions |
---|---|
Unknown | Unknown network failure |
FailureResponseCode | HTTP response code indicates failure |
BadResponse | HTTP response could not be read |
UnexpectedResponse | HTTP response completed but contained unexpected data |
NoConnection | Failed to establish a connection |
Proxy | Proxy failure |
SSL | SSL failure |
Timeout | Connection timed out |
Offline | Operation requires network connectivity |
Throttled | HTTP operation failed due to server traffic throttling |
Cancelled | HTTP operation has been cancelled by the application |
FunctionNotImplemented | HTTP response code indicates called function is not implemented |
ServiceUnavailable | HTTP response code indicates service is unavailable |
Category of network error.
Phản hồi
https://aka.ms/ContentUserFeedback.
Sắp ra mắt: Trong năm 2024, chúng tôi sẽ dần gỡ bỏ Sự cố với GitHub dưới dạng cơ chế phản hồi cho nội dung và thay thế bằng hệ thống phản hồi mới. Để biết thêm thông tin, hãy xem:Gửi và xem ý kiến phản hồi dành cho