Provides network communication exceptions to the application.
[Visual Basic] Public Class WebException Inherits Exception [C#] public class WebException : Exception [C++] public __gc class WebException : public Exception [JScript] public class WebException extends Exception
The WebException class
Namespace: System.Net
Assembly: System.net.dll