Mono Class Library: System.Net Namespace

System.Net.WebExceptionStatus Enumeration

Defines status codes for the System.Net.WebException class. [Edit]
public enum WebExceptionStatus

Remarks

This enumeration defines the status codes assigned to the WebException.Status property. [Edit]

Members

Member NameDescription
CacheEntryNotFoundDocumentation for this section has not yet been entered. [Edit]
ConnectFailure The remote service point could not be contacted at the transport level. [Edit]
ConnectionClosed The connection was prematurely closed. [Edit]
KeepAliveFailureThe connection for a request that specifies the Keep-alive header was closed unexpectedly. [Edit]
MessageLengthLimitExceededDocumentation for this section has not yet been entered. [Edit]
NameResolutionFailure The name resolver service could not resolve the host name. [Edit]
Pending An internal asynchronous request is pending. [Edit]
PipelineFailureThe request was submitted as a pipeline request, but the connection was dropped before the respective response was received. [Edit]
ProtocolError

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.

[Edit]
ProxyNameResolutionFailureThe name resolver service could not resolve the proxy host name. [Edit]
ReceiveFailure A complete response was not received from the remote server. [Edit]
RequestCanceled The request was canceled or the WebRequest.Abort method was called. [Edit]
RequestProhibitedByCachePolicyDocumentation for this section has not yet been entered. [Edit]
RequestProhibitedByProxyDocumentation for this section has not yet been entered. [Edit]
SecureChannelFailure An error occurred in a secure channel link. [Edit]
SendFailure A complete request could not be sent to the remote server. [Edit]
ServerProtocolViolationThe server response was not a valid HTTP response. [Edit]
Success No error was encountered. [Edit]
TimeoutNo response was received during the timeout period for a request. [Edit]
TrustFailure A server certificate could not be validated. [Edit]
UnknownError

An exception of unknown type has occurred.

Note: This is the default value for WebException.Status .

[Edit]

Requirements

Namespace: System.Net
Assembly: System (in System.dll)
Assembly Versions: 1.0.x.x, 1.0.5000.0, 2.0.0.0