HttpParameterBinding.ErrorMessage Property

If the binding is invalid, gets an error message that describes the binding error.

Namespace:  System.Web.Http.Controllers
Assembly:  System.Web.Http (in System.Web.Http.dll)

Syntax

'Declaration
Public Overridable ReadOnly Property ErrorMessage As String 
    Get
'Usage
Dim instance As HttpParameterBinding 
Dim value As String 

value = instance.ErrorMessage
public virtual string ErrorMessage { get; }
public:
virtual property String^ ErrorMessage {
    String^ get ();
}
abstract ErrorMessage : string 
override ErrorMessage : string
function get ErrorMessage () : String

Property Value

Type: System.String
An error message. If the binding was successful, the value is null.

See Also

Reference

HttpParameterBinding Class

System.Web.Http.Controllers Namespace