CodePorting.Translator Cs2Cpp
CodePorting.Translator.Cs2Cpp.Framework
web_exception_status.h
1
2#pragma once
3
4namespace System { namespace Net {
5
8{
10 Success = 0,
18 SendFailure = 4,
24 ProtocolError = 7,
28 TrustFailure = 9,
36 Pending = 13,
38 Timeout = 14,
42 UnknownError = 16,
51};
52}} // namespace System::Net
WebExceptionStatus
Enumerates the status codes of the WebException class.
Definition: web_exception_status.h:8
@ TrustFailure
A server certificate could not be validated.
@ PipelineFailure
The request was a pipelined request and the connection was closed before the response was received.
@ RequestCanceled
The request was canceled or an unclassifiable error occurred.
@ SendFailure
A complete request could not be sent to the remote server.
@ MessageLengthLimitExceeded
A message that exceeded the specified limit was received.
@ Pending
An internal asynchronous request is pending.
@ ConnectionClosed
The connection was prematurely closed.
@ CacheEntryNotFound
The specified cache entry was not found.
@ ProxyNameResolutionFailure
The name resolver service could not resolve the proxy host name.
@ ConnectFailure
The remote service point could not be contacted at the transport level.
@ RequestProhibitedByProxy
This request was not permitted by the proxy.
@ ServerProtocolViolation
The server response was not a valid HTTP response.
@ SecureChannelFailure
An error occurred while establishing a connection using SSL.
@ KeepAliveFailure
The connection for a request that specifies the 'Keep-Alive' header was closed unexpectedly.
@ UnknownError
An exception of unknown type has occurred.
@ Timeout
No response was received during the time-out period for a request.
@ ProtocolError
The response received from the server was complete but indicated a protocol-level error.
@ ReceiveFailure
A complete response is not received from the remote server.
@ RequestProhibitedByCachePolicy
The request was not permitted by the cache policy.
@ NameResolutionFailure
The name resolver service could not resolve the host name.
Definition: db_command.h:9