HttpRequestValidationException Methods

The HttpRequestValidationException type exposes the following members.

  Name Description
Public method Equals(Object) Determines whether the specified object is equal to the current object. (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 the default hash function. (Inherited from Object.)
Public method GetHtmlErrorMessage Gets the HTML error message to return to the client. (Inherited from HttpException.)
Public method GetHttpCode Gets the HTTP response status code to return to the client. (Inherited from HttpException.)
Public method GetObjectData Gets information about the exception and adds it to the SerializationInfo object. (Inherited from HttpException.)
Public method GetType Gets the runtime type of the current instance. (Inherited from Exception.)
Public method ToString Returns a string that contains the HRESULT of the error. (Inherited from ExternalException.)
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
© 2015 Microsoft