WebException Constructor

May 11, 2014

Initializes a new instance of the WebException class.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

  NameDescription
Public method WebException() Initializes a new instance of the WebException class.
Public method WebException(String) Initializes a new instance of the WebException class with the specified error message.
Public method WebException(String, Exception) Initializes a new instance of the WebException class with the specified error message and nested exception.
Public method WebException(String, WebExceptionStatus) Initializes a new instance of the WebException class with the specified error message and status.
Public method WebException(String, Exception, WebExceptionStatus, WebResponse) Initializes a new instance of the WebException class with the specified error message, nested exception, status, and response.
Top

Show:
© 2014 Microsoft