ModelBinderConfig.TypeConversionErrorMessageProvider Property
Gets or sets the current provider for type-conversion error message.
Namespace: System.Web.Http.ModelBinding
Assembly: System.Web.Http (in System.Web.Http.dll)
Syntax
'Declaration
Public Shared Property TypeConversionErrorMessageProvider As ModelBinderErrorMessageProvider
Get
Set
'Usage
Dim value As ModelBinderErrorMessageProvider
value = ModelBinderConfig.TypeConversionErrorMessageProvider
ModelBinderConfig.TypeConversionErrorMessageProvider = value
public static ModelBinderErrorMessageProvider TypeConversionErrorMessageProvider { get; set; }
public:
static property ModelBinderErrorMessageProvider^ TypeConversionErrorMessageProvider {
ModelBinderErrorMessageProvider^ get ();
void set (ModelBinderErrorMessageProvider^ value);
}
static member TypeConversionErrorMessageProvider : ModelBinderErrorMessageProvider with get, set
static function get TypeConversionErrorMessageProvider () : ModelBinderErrorMessageProvider
static function set TypeConversionErrorMessageProvider (value : ModelBinderErrorMessageProvider)
Property Value
Type: System.Web.Http.ModelBinding.ModelBinderErrorMessageProvider
The current provider for type-conversion error message.