HttpException Constructor
.NET Framework 2.0
Initializes a new instance of the HttpException class.
| Name | Description |
|---|---|
| HttpException () | Initializes a new instance of the HttpException class and creates an empty HttpException object. |
| HttpException (String) | Initializes a new instance of the HttpException class using a supplied error message. |
| HttpException (Int32, String) | Initializes a new instance of the HttpException class using an HTTP response status code and an error message. |
| HttpException (SerializationInfo, StreamingContext) | Initializes a new instance of the HttpException class with serialized data. |
| HttpException (String, Exception) | Initializes a new instance of the HttpException class using an error message and the InnerException property. |
| HttpException (String, Int32) | Initializes a new instance of the HttpException class using an error message and an exception code. |
| HttpException (Int32, String, Exception) | Initializes a new instance of the HttpException class using an HTTP response status code, an error message, and the InnerException property. |
| HttpException (Int32, String, Int32) | Initializes a new instance of the HttpException class using an HTTP response status code, an error message, and an exception code. |
Community Additions
ADD
Show: