ModelClientValidationRemoteRule(String, String, String, String) ModelClientValidationRemoteRule(String, String, String, String) ModelClientValidationRemoteRule(String, String, String, String) Constructor

Definition

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 String String

The error message.

url
String String String

The URL of the rule.

httpMethod
String String String

The HTTP method.

additionalFields
String String String

The additional fields used.

Applies to