ModelBinderErrorMessageProvider Delegate

Provides a container for model-binder error message provider.

Namespace:  System.Web.Http.ModelBinding
Assembly:  System.Web.Http (in System.Web.Http.dll)

Syntax

'Declaration
Public Delegate Function ModelBinderErrorMessageProvider ( _
    actionContext As HttpActionContext, _
    modelMetadata As ModelMetadata, _
    incomingValue As Object _
) As String
'Usage
Dim instance As New ModelBinderErrorMessageProvider(AddressOf HandlerMethod)
public delegate string ModelBinderErrorMessageProvider(
    HttpActionContext actionContext,
    ModelMetadata modelMetadata,
    Object incomingValue
)
public delegate String^ ModelBinderErrorMessageProvider(
    HttpActionContext^ actionContext, 
    ModelMetadata^ modelMetadata, 
    Object^ incomingValue
)
type ModelBinderErrorMessageProvider = 
    delegate of 
        actionContext:HttpActionContext * 
        modelMetadata:ModelMetadata * 
        incomingValue:Object -> string
JScript supports the use of delegates, but not the declaration of new ones.

Parameters

Return Value

Type: System.String

See Also

Reference

System.Web.Http.ModelBinding Namespace