Поделиться через


ModelBindingMessageProvider.AttemptedValueIsInvalidAccessor Свойство

Определение

Сообщение об ошибке система привязки модели добавляет, если Exception имеет тип FormatException или OverflowException, значение известно, а ошибка связана со свойством.

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)

Значение свойства

Значение по умолчанию String — "Недопустимое значение для{0}{1} ".

Применяется к