Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
HttpRequestValidationException Class

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

Show:
© 2015 Microsoft