public enum WebExceptionStatus
Object
ValueType
Enum
WebExceptionStatus
System
Networking
Defines status codes for the WebException class.
This enumeration defines the status codes assigned to the System.Net.WebException.Status property.
System.Net Namespace
WebExceptionStatus Fields
WebExceptionStatus.ConnectFailure Field
WebExceptionStatus.ConnectionClosed Field
WebExceptionStatus.KeepAliveFailure Field
WebExceptionStatus.NameResolutionFailure Field
WebExceptionStatus.Pending Field
WebExceptionStatus.PipelineFailure Field
WebExceptionStatus.ProtocolError Field
WebExceptionStatus.ProxyNameResolutionFailure Field
WebExceptionStatus.ReceiveFailure Field
WebExceptionStatus.RequestCanceled Field
WebExceptionStatus.SecureChannelFailure Field
WebExceptionStatus.SendFailure Field
WebExceptionStatus.ServerProtocolViolation Field
WebExceptionStatus.Success Field
WebExceptionStatus.Timeout Field
WebExceptionStatus.TrustFailure Field
WebExceptionStatus.value__ Field
ConnectFailure = 2;
The remote service point could not be contacted at the transport level.
System.Net.WebExceptionStatus Enum, System.Net Namespace
ConnectionClosed = 8;
The connection was prematurely closed.
System.Net.WebExceptionStatus Enum, System.Net Namespace
KeepAliveFailure = 12;
The connection for a request that specifies the Keep-alive header was closed unexpectedly.
System.Net.WebExceptionStatus Enum, System.Net Namespace
NameResolutionFailure = 1;
The name resolver service could not resolve the host name.
System.Net.WebExceptionStatus Enum, System.Net Namespace
Pending = 13;
An internal asynchronous request is pending.
System.Net.WebExceptionStatus Enum, System.Net Namespace
PipelineFailure = 5;
The request was submitted as a pipeline request, but the connection was dropped before the respective response was received.
System.Net.WebExceptionStatus Enum, System.Net Namespace
ProtocolError = 7;
The response received from the server was complete but indicated a protocol-level error.[Note: For example, an HTTP protocol error such as 401 Access Denied would use this status. ]
System.Net.WebExceptionStatus Enum, System.Net Namespace
ProxyNameResolutionFailure = 15;
The name resolver service could not resolve the proxy host name.
System.Net.WebExceptionStatus Enum, System.Net Namespace
ReceiveFailure = 3;
A complete response was not received from the remote server.
System.Net.WebExceptionStatus Enum, System.Net Namespace
RequestCanceled = 6;
The request was canceled or the System.Net.WebRequest.Abort method was called.
System.Net.WebExceptionStatus Enum, System.Net Namespace
SecureChannelFailure = 10;
An error occurred in a secure channel link.
System.Net.WebExceptionStatus Enum, System.Net Namespace
SendFailure = 4;
A complete request could not be sent to the remote server.
System.Net.WebExceptionStatus Enum, System.Net Namespace
ServerProtocolViolation = 11;
The server response was not a valid HTTP response.
System.Net.WebExceptionStatus Enum, System.Net Namespace
Success = 0;
No error was encountered.[Note: This is the default value for System.Net.WebException.Status . ]
System.Net.WebExceptionStatus Enum, System.Net Namespace
Timeout = 14;
No response was received during the timeout period for a request.
System.Net.WebExceptionStatus Enum, System.Net Namespace
TrustFailure = 9;
A server certificate could not be validated.
System.Net.WebExceptionStatus Enum, System.Net Namespace
value__;
System.Net.WebExceptionStatus Enum, System.Net Namespace