HttpException Constructor

HttpException Constructor

 

Initializes a new instance of the HttpException class.

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

NameDescription
System_CAPS_pubmethodHttpException()

Initializes a new instance of the HttpException class and creates an empty HttpException object.

System_CAPS_pubmethodHttpException(Int32, String)

Initializes a new instance of the HttpException class using an HTTP response status code and an error message.

System_CAPS_pubmethodHttpException(Int32, String, Exception)

Initializes a new instance of the HttpException class using an HTTP response status code, an error message, and the InnerException property.

System_CAPS_pubmethodHttpException(Int32, String, Int32)

Initializes a new instance of the HttpException class using an HTTP response status code, an error message, and an exception code.

System_CAPS_protmethodHttpException(SerializationInfo, StreamingContext)

Initializes a new instance of the HttpException class with serialized data.

System_CAPS_pubmethodHttpException(String)

Initializes a new instance of the HttpException class using a supplied error message.

System_CAPS_pubmethodHttpException(String, Exception)

Initializes a new instance of the HttpException class using an error message and the InnerException property.

System_CAPS_pubmethodHttpException(String, Int32)

Initializes a new instance of the HttpException class using an error message and an exception code.

Return to top
Show:
© 2016 Microsoft