DefaultModelBindingMessageProvider.UnknownValueIsInvalidAccessor Property

Definition

Error message the model binding system adds when Exception is of type FormatException or OverflowException, value is unknown, and error is associated with a property.

public:
 virtual property Func<System::String ^, System::String ^> ^ UnknownValueIsInvalidAccessor { Func<System::String ^, System::String ^> ^ get(); };
public override Func<string,string> UnknownValueIsInvalidAccessor { get; }
member this.UnknownValueIsInvalidAccessor : Func<string, string>
Public Overrides ReadOnly Property UnknownValueIsInvalidAccessor As Func(Of String, String)

Property Value

Func<String,String>

Default String is "The supplied value is invalid for {0}.".

Applies to