ModelClientValidationRemoteRule Constructor

Initializes a new instance of the ModelClientValidationRemoteRule class.

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

public:
ModelClientValidationRemoteRule(
	String^ errorMessage, 
	String^ url, 
	String^ httpMethod, 
	String^ additionalFields
)

Parameters

errorMessage
Type: System::String
The error message.
url
Type: System::String
The URL of the rule.
httpMethod
Type: System::String
The HTTP method.
additionalFields
Type: System::String
The additional fields used.
Show: