RequestFieldValidatorBase.GetHttpContext(ValidationContext) RequestFieldValidatorBase.GetHttpContext(ValidationContext) Method

Definition

Returns the HTTP context of the current request.

protected static System.Web.HttpContextBase GetHttpContext (System.ComponentModel.DataAnnotations.ValidationContext validationContext);
static member GetHttpContext : System.ComponentModel.DataAnnotations.ValidationContext -> System.Web.HttpContextBase

Parameters

validationContext
ValidationContext ValidationContext

The validation context.

Returns

Applies to