ModelBindingMessageProvider.UnknownValueIsInvalidAccessor Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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:
property Func<System::String ^, System::String ^> ^ UnknownValueIsInvalidAccessor { Func<System::String ^, System::String ^> ^ get(); void set(Func<System::String ^, System::String ^> ^ value); };
public:
virtual property Func<System::String ^, System::String ^> ^ UnknownValueIsInvalidAccessor { Func<System::String ^, System::String ^> ^ get(); };
public Func<string,string> UnknownValueIsInvalidAccessor { get; set; }
public virtual Func<string,string> UnknownValueIsInvalidAccessor { get; }
member this.UnknownValueIsInvalidAccessor : Func<string, string> with get, set
member this.UnknownValueIsInvalidAccessor : Func<string, string>
Public Property UnknownValueIsInvalidAccessor As Func(Of String, String)
Public Overridable ReadOnly Property UnknownValueIsInvalidAccessor As Func(Of String, String)
Property Value
Default String is "The supplied value is invalid for {0}.".