ModelClientValidationRemoteRule(String, String, String, String) Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of the ModelClientValidationRemoteRule class.
public ModelClientValidationRemoteRule(string errorMessage, string url, string httpMethod, string additionalFields);
new System.Web.Mvc.ModelClientValidationRemoteRule : string * string * string * string -> System.Web.Mvc.ModelClientValidationRemoteRule
Public Sub New (errorMessage As String, url As String, httpMethod As String, additionalFields As String)
Parameters
- errorMessage
- String
The error message.
- url
- String
The URL of the rule.
- httpMethod
- String
The HTTP method.
- additionalFields
- String
The additional fields used.