WebExceptionStatus Enumeration
Silverlight
Defines status codes for the WebException class.
Namespace: System.Net
Assembly: System.Net (in System.Net.dll)
| Member name | Description | |
|---|---|---|
![]() | Success | No error was encountered. |
![]() | ConnectFailure | The remote service point could not be contacted at the transport level. |
![]() | SendFailure | A complete request could not be sent to the remote server. |
![]() | RequestCanceled | The request was canceled, the WebRequest::Abort method was called, or an unclassifiable error occurred. This is the default value for Status. |
![]() | Pending | An internal asynchronous request is pending. |
![]() | UnknownError | An exception of unknown type has occurred. |
![]() | MessageLengthLimitExceeded | A message was received that exceeded the specified limit when sending a request or receiving a response from the server. |
![]() | NameResolutionFailure | The name resolver service could not resolve the host name. Not supported. Present in Silverlight for Windows Phone. |
![]() | ReceiveFailure | A complete response was not received from the remote server. Not supported. Present in Silverlight for Windows Phone. |
![]() | PipelineFailure | The request was a pipelined request and the connection was closed before the response was received. Not supported. Present in Silverlight for Windows Phone. |
![]() | ProtocolError | The 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. |
![]() | ConnectionClosed | The connection was prematurely closed. Not supported. Present in Silverlight for Windows Phone. |
![]() | TrustFailure | A server certificate could not be validated. Not supported. Present in Silverlight for Windows Phone. |
![]() | SecureChannelFailure | An error occurred while establishing a connection using SSL. Not supported. Present in Silverlight for Windows Phone. |
![]() | ServerProtocolViolation | The server response was not a valid HTTP response. Not supported. Present in Silverlight for Windows Phone. |
![]() | KeepAliveFailure | The connection for a request that specifies the Keep-alive header was closed unexpectedly. Not supported. Present in Silverlight for Windows Phone. |
![]() | Timeout | No response was received during the time-out period for a request. Not supported. Present in Silverlight for Windows Phone. |
![]() | ProxyNameResolutionFailure | The name resolver service could not resolve the proxy host name. Not supported. Present in Silverlight for Windows Phone. |
For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.
Community Additions
ADD
Show:
