Share via


ModelBinderErrorMessageProvider Delegate

 

Provides a container for model-binder error message providers.

Namespace:   Microsoft.Web.Mvc.ModelBinding
Assembly:  Microsoft.Web.Mvc (in Microsoft.Web.Mvc.dll)

Syntax

public delegate string ModelBinderErrorMessageProvider(
    ControllerContext controllerContext,
    ModelMetadata modelMetadata,
    object incomingValue
)
public delegate String^ ModelBinderErrorMessageProvider(
    ControllerContext^ controllerContext,
    ModelMetadata^ modelMetadata,
    Object^ incomingValue
)
type ModelBinderErrorMessageProvider = 
    delegate of 
        controllerContext:ControllerContext *
        modelMetadata:ModelMetadata *
        incomingValue:Object -> string
Public Delegate Function ModelBinderErrorMessageProvider (
    controllerContext As ControllerContext,
    modelMetadata As ModelMetadata,
    incomingValue As Object
) As String

Return Value

Type: System.String

See Also

Microsoft.Web.Mvc.ModelBinding Namespace

Return to top