Export (0) Print
Expand All
1 out of 2 rated this helpful - Rate this topic

HttpResponseException Class

An exception that allows for a given HttpResponseMessage to be returned to the client.

System.Object
  System.Exception
    System.Web.Http.HttpResponseException

Namespace:  System.Web.Http
Assembly:  System.Web.Http (in System.Web.Http.dll)
public class HttpResponseException : Exception

The HttpResponseException type exposes the following members.

  NameDescription
Public methodHttpResponseException(HttpResponseMessage)Initializes a new instance of the HttpResponseException class.
Public methodHttpResponseException(HttpStatusCode) Initializes a new instance of the HttpResponseException class.
Top
  NameDescription
Public propertyData (Inherited from Exception.)
Public propertyHelpLink (Inherited from Exception.)
Public propertyHResult (Inherited from Exception.)
Public propertyInnerException (Inherited from Exception.)
Public propertyMessage (Inherited from Exception.)
Public propertyResponseGets the HTTP response to return to the client.
Public propertySource (Inherited from Exception.)
Public propertyStackTrace (Inherited from Exception.)
Public propertyTargetSite (Inherited from Exception.)
Top
  NameDescription
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetBaseException (Inherited from Exception.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetObjectDataSecurity Critical. (Inherited from Exception.)
Public methodGetType (Inherited from Exception.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodToString (Inherited from Exception.)
Top
  NameDescription
Protected eventSerializeObjectState (Inherited from Exception.)
Top
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Show:
© 2014 Microsoft. All rights reserved.