IModelBindingMessageProvider Interface
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.
Provider for error messages the model binding system detects.
public interface class IModelBindingMessageProvider
public interface IModelBindingMessageProvider
type IModelBindingMessageProvider = interface
Public Interface IModelBindingMessageProvider
- Derived
Properties
AttemptedValueIsInvalidAccessor |
Error message the model binding system adds when Exception is of type FormatException or OverflowException and value is known. |
MissingBindRequiredValueAccessor |
Error message the model binding system adds when a property with an associated
|
MissingKeyOrValueAccessor |
Error message the model binding system adds when either the key or the value of a KeyValuePair<TKey,TValue> is bound but not both. |
UnknownValueIsInvalidAccessor |
Error message the model binding system adds when Exception is of type FormatException or OverflowException and value is unknown. |
ValueIsInvalidAccessor |
Fallback error message HTML and tag helpers display when a property is invalid but the
ModelErrors have |
ValueMustBeANumberAccessor |
Error message HTML and tag helpers add for client-side validation of numeric formats. Visible in the
browser if the field for a |
ValueMustNotBeNullAccessor |
Error message the model binding system adds when a |