Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

WebException Constructor

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.

  Name Description
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.
Protected method WebException(SerializationInfo, StreamingContext) Initializes a new instance of the WebException class from the specified SerializationInfo and StreamingContext instances.
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
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.