Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
Expand Minimize

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