Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
ModelBinderErrorMessageProvider Delegate
Collapse the table of content
Expand the table of content

ModelBinderErrorMessageProvider Delegate

.NET Framework 4.6 and 4.5

Represents a method that provides a model-binding error message.

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

public delegate string ModelBinderErrorMessageProvider(
	ModelBindingExecutionContext modelBindingExecutionContext,
	ModelMetadata modelMetadata,
	Object incomingValue
)

Parameters

modelBindingExecutionContext
Type: System.Web.ModelBinding.ModelBindingExecutionContext
modelMetadata
Type: System.Web.ModelBinding.ModelMetadata
incomingValue
Type: System.Object

Return Value

Type: System.String

.NET Framework

Supported in: 4.6, 4.5
Show:
© 2015 Microsoft