Export (0) Print
Expand All

HttpException Constructor

Initializes a new instance of the HttpException class.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

  Name Description
Public method HttpException() Initializes a new instance of the HttpException class and creates an empty HttpException object.
Public method HttpException(String) Initializes a new instance of the HttpException class using a supplied error message.
Public method HttpException(Int32, String) Initializes a new instance of the HttpException class using an HTTP response status code and an error message.
Protected method HttpException(SerializationInfo, StreamingContext) Initializes a new instance of the HttpException class with serialized data.
Public method HttpException(String, Exception) Initializes a new instance of the HttpException class using an error message and the InnerException property.
Public method HttpException(String, Int32) Initializes a new instance of the HttpException class using an error message and an exception code.
Public method 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.
Public method 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.
Top
Show:
© 2014 Microsoft