WebException Constructor

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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: