ModelBinderErrorMessageProvider Delegate

Definition

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
modelMetadata
ModelMetadata
incomingValue
Object

Return Value

String
Inheritance
ModelBinderErrorMessageProvider

Extension Methods

GetMethodInfo(Delegate)

Gets an object that represents the method represented by the specified delegate.

Applies to