This documentation is archived and is not being maintained.

HttpException Methods

(see also Protected Methods )
  Name Description
Public method Static CreateFromLastError Creates a new HttpException exception based on the error code that is returned from the Win32 API GetLastError() method.
Public method Equals  Overloaded. Determines whether two Object instances are equal. (inherited from Object)
Public method GetBaseException  When overridden in a derived class, returns the Exception that is the root cause of one or more subsequent exceptions. (inherited from Exception)
Public method GetHashCode  Serves as a hash function for a particular type. (inherited from Object)
Public method GetHtmlErrorMessage Gets the HTML error message to return to the client.
Public method GetHttpCode Gets the HTTP response status code to return to the client.
Public method GetObjectData Overridden. Gets information about the exception and adds it to the SerializationInfo object.
Public method GetType  Gets the runtime type of the current instance. (inherited from Exception)
Public method Static ReferenceEquals  Determines whether the specified Object instances are the same instance. (inherited from Object)
Public method ToString  Creates and returns a string representation of the current exception. (inherited from Exception)
Top

  Name Description
Protected method Finalize  Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (inherited from Object)
Protected method MemberwiseClone  Creates a shallow copy of the current Object. (inherited from Object)
Top
Show: