WebException Constructor

 

Initializes a new instance of the WebException class.

Namespace:   System.Net
Assembly:  System (in System.dll)

NameDescription
System_CAPS_pubmethodWebException()

Initializes a new instance of the WebException class.

System_CAPS_protmethodWebException(SerializationInfo^, StreamingContext)

Initializes a new instance of the WebException class from the specified SerializationInfo and StreamingContext instances.

System_CAPS_pubmethodWebException(String^)

Initializes a new instance of the WebException class with the specified error message.

System_CAPS_pubmethodWebException(String^, Exception^)

Initializes a new instance of the WebException class with the specified error message and nested exception.

System_CAPS_pubmethodWebException(String^, Exception^, WebExceptionStatus, WebResponse^)

Initializes a new instance of the WebException class with the specified error message, nested exception, status, and response.

System_CAPS_pubmethodWebException(String^, WebExceptionStatus)

Initializes a new instance of the WebException class with the specified error message and status.

Return to top
Show: