Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

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:
© 2017 Microsoft