ModelError.ErrorMessage Property
Gets or sets the error message.
Namespace: System.Web.Http.ModelBinding
Assembly: System.Web.Http (in System.Web.Http.dll)
Syntax
'Declaration
Public Property ErrorMessage As String
Get
Private Set
'Usage
Dim instance As ModelError
Dim value As String
value = instance.ErrorMessage
public string ErrorMessage { get; private set; }
public:
property String^ ErrorMessage {
String^ get ();
private: void set (String^ value);
}
member ErrorMessage : string with get, private set
function get ErrorMessage () : String
private function set ErrorMessage (value : String)
Property Value
Type: System.String
The error message.