ModelBindingMessageProvider Class
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 ref class ModelBindingMessageProvider : Microsoft::AspNetCore::Mvc::ModelBinding::Metadata::IModelBindingMessageProvider
public ref class ModelBindingMessageProvider abstract
public class ModelBindingMessageProvider : Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.IModelBindingMessageProvider
public abstract class ModelBindingMessageProvider
type ModelBindingMessageProvider = class
interface IModelBindingMessageProvider
type ModelBindingMessageProvider = class
Public Class ModelBindingMessageProvider
Implements IModelBindingMessageProvider
Public MustInherit Class ModelBindingMessageProvider
- Inheritance
-
ModelBindingMessageProvider
- Derived
- Implements
Constructors
ModelBindingMessageProvider() |
Initializes a new instance of the ModelBindingMessageProvider class. |
ModelBindingMessageProvider(ModelBindingMessageProvider) |
Initializes a new instance of the ModelBindingMessageProvider class based on
|
Properties
AttemptedValueIsInvalidAccessor |
Error message the model binding system adds when Exception is of type FormatException or OverflowException, value is known, and error is associated with a property. |
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. |
MissingRequestBodyRequiredValueAccessor |
Error message the model binding system adds when no value is provided for the request body, but a value is required. |
NonPropertyAttemptedValueIsInvalidAccessor |
Error message the model binding system adds when Exception is of type FormatException or OverflowException, value is known, and error is associated with a collection element or parameter. |
NonPropertyUnknownValueIsInvalidAccessor |
Error message the model binding system adds when Exception is of type FormatException or OverflowException, value is unknown, and error is associated with a collection element or parameter. |
NonPropertyValueMustBeANumberAccessor |
Error message HTML and tag helpers add for client-side validation of numeric formats. Visible in the
browser if the field for a |
UnknownValueIsInvalidAccessor |
Error message the model binding system adds when Exception is of type FormatException or OverflowException, value is unknown, and error is associated with a property. |
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 |