Mono Class Library: System.Net Namespace

System.Net.WebException Class

Represents an error that occurs while accessing the Internet through a pluggable protocol. [Edit]

See Also: WebException Members

System.Object
     System.Exception
          System.SystemException
               System.InvalidOperationException
                    System.Net.WebException

public class WebException : InvalidOperationException

Thread Safety

All public static members of this type are safe for multithreaded operations. No instance members are guaranteed to be thread safe.

Remarks

Note:

System.Net.WebException is thrown by classes derived from System.Net.WebRequest and System.Net.WebResponse that implement pluggable protocols when an error occurs in while accessing the Internet.

When System.Net.WebException is thrown by a method in a class derived from System.Net.WebRequest , the WebException.Response property provides the Internet response to the application.

[Edit]

Requirements

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