Export (0) Print
Expand All

ModelClientValidationRegexRule Constructor

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

Initializes a new instance of the ModelClientValidationRegexRule class.

Namespace:  System.Web.Mvc
Assembly:  System.Web.WebPages (in System.Web.WebPages.dll)

public ModelClientValidationRegexRule(
	string errorMessage,
	string pattern
)

Parameters

errorMessage
Type: System.String
The exception message.
pattern
Type: System.String
The pattern.
Show:
© 2014 Microsoft