Partager via


HttpError Constructor

Include Protected Members
Include Inherited Members

Initializes a new instance of the HttpError class.

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

Overload List

  Name Description
Public method HttpError() Initializes a new instance of the HttpError class.
Public method HttpError(String) Initializes a new instance of the HttpError class containing error message message.
Public method HttpError(Exception, Boolean) Initializes a new instance of the HttpError class for exception.
Public method HttpError(ModelStateDictionary, Boolean) Initializes a new instance of the HttpError class for modelState.

Top

See Also

Reference

HttpError Class

System.Web.Http Namespace