Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

HttpRequestValidationException Class

Note: This namespace, class, or member is supported only in version 1.1 of the .NET Framework.

The exception that is thrown when a potentially dangerous input string is received from the client.

For a list of all members of this type, see HttpRequestValidationException Members.

System.Object
   System.Exception
      System.SystemException
         System.Runtime.InteropServices.ExternalException
            System.Web.HttpException
               System.Web.HttpRequestValidationException

[Visual Basic]
NotInheritable Public Class HttpRequestValidationException
   Inherits HttpException
[C#]
public sealed class HttpRequestValidationException : HttpException
[C++]
public __gc __sealed class HttpRequestValidationException : public
   HttpException
[JScript]
public class HttpRequestValidationException extends HttpException

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Requirements

Namespace: System.Web

Platforms: Windows 2000, Windows XP Professional, Windows Server 2003 family

Assembly: System.Web (in System.Web.dll)

See Also

HttpRequestValidationException Members | System.Web Namespace

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft