This topic has not yet been rated - Rate this topic

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
Did you find this helpful?
(1500 characters remaining)
© 2013 Microsoft. All rights reserved.