Export (0) Print
Expand All

WebExceptionStatus Enumeration

Defines status codes for the WebException class.

Namespace:  System.Net
Assembly:  System.Net (in System.Net.dll)

'Declaration
Public Enumeration WebExceptionStatus

Member nameDescription
Supported by Silverlight for Windows PhoneSuccessNo error was encountered.
Supported by Silverlight for Windows PhoneConnectFailureThe remote service point could not be contacted at the transport level.
Supported by Silverlight for Windows PhoneSendFailureA complete request could not be sent to the remote server.
Supported by Silverlight for Windows PhoneRequestCanceledThe request was canceled, the WebRequest.Abort method was called, or an unclassifiable error occurred. This is the default value for Status.
Supported by Silverlight for Windows PhonePendingAn internal asynchronous request is pending.
Supported by Silverlight for Windows PhoneUnknownErrorAn exception of unknown type has occurred.
Supported by Silverlight for Windows PhoneMessageLengthLimitExceededA message was received that exceeded the specified limit when sending a request or receiving a response from the server.
Supported by Silverlight for Windows PhoneNameResolutionFailureThe name resolver service could not resolve the host name. Not supported. Present in Silverlight for Windows Phone.
Supported by Silverlight for Windows PhoneReceiveFailureA complete response was not received from the remote server. Not supported. Present in Silverlight for Windows Phone.
Supported by Silverlight for Windows PhonePipelineFailureThe request was a pipelined request and the connection was closed before the response was received. Not supported. Present in Silverlight for Windows Phone.
Supported by Silverlight for Windows PhoneProtocolErrorThe response received from the server was complete but indicated a protocol-level error. For example, an HTTP protocol error such as 401 Access Denied would use this status. Not supported. Present in Silverlight for Windows Phone.
Supported by Silverlight for Windows PhoneConnectionClosedThe connection was prematurely closed. Not supported. Present in Silverlight for Windows Phone.
Supported by Silverlight for Windows PhoneTrustFailureA server certificate could not be validated. Not supported. Present in Silverlight for Windows Phone.
Supported by Silverlight for Windows PhoneSecureChannelFailureAn error occurred while establishing a connection using SSL. Not supported. Present in Silverlight for Windows Phone.
Supported by Silverlight for Windows PhoneServerProtocolViolationThe server response was not a valid HTTP response. Not supported. Present in Silverlight for Windows Phone.
Supported by Silverlight for Windows PhoneKeepAliveFailureThe connection for a request that specifies the Keep-alive header was closed unexpectedly. Not supported. Present in Silverlight for Windows Phone.
Supported by Silverlight for Windows PhoneTimeoutNo response was received during the time-out period for a request. Not supported. Present in Silverlight for Windows Phone.
Supported by Silverlight for Windows PhoneProxyNameResolutionFailureThe name resolver service could not resolve the proxy host name. Not supported. Present in Silverlight for Windows Phone.

The WebExceptionStatus enumeration defines the status codes assigned to the Status property.

Silverlight

Supported in: 5, 4, 3

Silverlight for Windows Phone

Supported in: Windows Phone OS 7.1, Windows Phone OS 7.0

XNA Framework

Supported in: Windows Phone OS 7.0

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.

Community Additions

ADD
Show:
© 2014 Microsoft