ValidationRuleActivatorCreateValidationRule Method (String) |
Namespace: Kentico.Forms.Web.Mvc
public ValidationRule CreateValidationRule( string validationRuleIdentifier )
Exception | Condition |
---|---|
ArgumentNullException | Thrown when validationRuleIdentifier is null or empty. |
InvalidOperationException | Thrown when ValidationRule with given validationRuleIdentifier is not registered in the system. |