ModelBinderErrorMessageProvider Delegate
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.
Represents a method that provides a model-binding error message.
public delegate System::String ^ ModelBinderErrorMessageProvider(ModelBindingExecutionContext ^ modelBindingExecutionContext, ModelMetadata ^ modelMetadata, System::Object ^ incomingValue);
public delegate string ModelBinderErrorMessageProvider(ModelBindingExecutionContext modelBindingExecutionContext, ModelMetadata modelMetadata, object incomingValue);
type ModelBinderErrorMessageProvider = delegate of ModelBindingExecutionContext * ModelMetadata * obj -> string
Public Delegate Function ModelBinderErrorMessageProvider(modelBindingExecutionContext As ModelBindingExecutionContext, modelMetadata As ModelMetadata, incomingValue As Object) As String
Parameters
- modelBindingExecutionContext
- ModelBindingExecutionContext
The model binding execution context. If the model binding execution context is null
, a new one is created and returned.
- modelMetadata
- ModelMetadata
The model metadata.
- incomingValue
- Object
An incoming value.
Return Value
Extension Methods
GetMethodInfo(Delegate) |
Gets an object that represents the method represented by the specified delegate. |
Applies to
Vertu í samstarfi við okkur á GitHub
Heimildina fyrir þetta efni er að finna á GitHub, þar sem þú getur líka búið til og farið yfir vandamál og sameinað beiðnir. Frekari upplýsingar er að finna í framlagshandbók okkar.