ValidationUtility Class

This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.

Provides utility methods for dynamic request validation.

Inheritance Hierarchy

System.Object
  Microsoft.Web.Infrastructure.DynamicValidationHelper.ValidationUtility

Namespace:  Microsoft.Web.Infrastructure.DynamicValidationHelper
Assembly:  Microsoft.Web.Infrastructure (in Microsoft.Web.Infrastructure.dll)

Syntax

'Declaration
Public NotInheritable Class ValidationUtility
'Usage
You do not need to declare an instance of a static class in order to access its members.
public static class ValidationUtility
public ref class ValidationUtility abstract sealed
public final class ValidationUtility

The ValidationUtility type exposes the following members.

Methods

  Name Description
Public methodStatic member EnableDynamicValidation Infrastructure. Enables dynamic request validation for the specified HTTP context.
Public methodStatic member GetUnvalidatedCollections Infrastructure. Obtains delegates to retrieve unvalidated form collections and unvalidated query collections.
Public methodStatic member IsValidationEnabled Infrastructure. Returns a value that indicates whether dynamic request validation is enabled for this HTTP context.

Top

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.

See Also

Reference

Microsoft.Web.Infrastructure.DynamicValidationHelper Namespace