Share via


ModelBindingMessageProvider.AttemptedValueIsInvalidAccessor Property

Definition

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

public:
 property Func<System::String ^, System::String ^, System::String ^> ^ AttemptedValueIsInvalidAccessor { Func<System::String ^, System::String ^, System::String ^> ^ get(); void set(Func<System::String ^, System::String ^, System::String ^> ^ value); };
public:
 virtual property Func<System::String ^, System::String ^, System::String ^> ^ AttemptedValueIsInvalidAccessor { Func<System::String ^, System::String ^, System::String ^> ^ get(); };
public Func<string,string,string> AttemptedValueIsInvalidAccessor { get; set; }
public virtual Func<string,string,string> AttemptedValueIsInvalidAccessor { get; }
member this.AttemptedValueIsInvalidAccessor : Func<string, string, string> with get, set
member this.AttemptedValueIsInvalidAccessor : Func<string, string, string>
Public Property AttemptedValueIsInvalidAccessor As Func(Of String, String, String)
Public Overridable ReadOnly Property AttemptedValueIsInvalidAccessor As Func(Of String, String, String)

Property Value

Default String is "The value '{0}' is not valid for {1}.".

Applies to