Share via


ModelBinderConfig.ValueRequiredErrorMessageProvider Property

Gets or sets the current provider for value-required error messages.

Namespace:  System.Web.Http.ModelBinding
Assembly:  System.Web.Http (in System.Web.Http.dll)

Syntax

'Declaration
Public Shared Property ValueRequiredErrorMessageProvider As ModelBinderErrorMessageProvider
    Get
    Set
'Usage
Dim value As ModelBinderErrorMessageProvider

value = ModelBinderConfig.ValueRequiredErrorMessageProvider

ModelBinderConfig.ValueRequiredErrorMessageProvider = value
public static ModelBinderErrorMessageProvider ValueRequiredErrorMessageProvider { get; set; }
public:
static property ModelBinderErrorMessageProvider^ ValueRequiredErrorMessageProvider {
    ModelBinderErrorMessageProvider^ get ();
    void set (ModelBinderErrorMessageProvider^ value);
}
static member ValueRequiredErrorMessageProvider : ModelBinderErrorMessageProvider with get, set
static function get ValueRequiredErrorMessageProvider () : ModelBinderErrorMessageProvider
static function set ValueRequiredErrorMessageProvider (value : ModelBinderErrorMessageProvider)

Property Value

Type: System.Web.Http.ModelBinding.ModelBinderErrorMessageProvider
The error message provider.

See Also

Reference

ModelBinderConfig Class

System.Web.Http.ModelBinding Namespace