The WebException type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| WebException()()()() |
The default constructor.
| |
| WebException(String) |
Constructs a WebException based on the specified
message string.
| |
| WebException(String, WebExceptionStatus) |
Constructs a WebException based on the specified
message string and WebExceptionStatus.
| |
| WebException(String, Exception) |
Constructs a WebException based on the specified
message string and inner exception.
| |
| WebException(String, Exception, WebExceptionStatus, WebResponse) |
Constructs a WebException based on the specified
message string, inner exception,
[!:System.Net.WebExceptionStatus], and
[!:System.Net.WebResponse].
|
Properties
| Name | Description | |
|---|---|---|
| Response |
Gets the response that the remote host returned.
| |
| Status |
Gets the WebExceptionStatus code.
|