Defines the exception that is thrown by [!:System.Net.WebRequest] instances when an error occurs.

Namespace: GHIElectronics.NETMF.Net
Assembly: GHIElectronics.NETMF.W5100.Http (in GHIElectronics.NETMF.W5100.Http.dll) Version: 4.1.9.0 (4.1.9.0)

Syntax

C#
public class WebException : InvalidOperationException

Remarks

This class is a subclass of InvalidOperationException that contains a WebExceptionStatus and possibly a reference to a WebResponse. The WebResponse is only present if there is a response from the remote server.

Inheritance Hierarchy

System..::..Object
  System..::..Exception
    System..::..SystemException
      System..::..InvalidOperationException
        GHIElectronics.NETMF.Net..::..WebException

See Also