Share via


HttpError.Message Property

 

Gets or sets the high-level, user-visible message explaining the cause of the error. Information carried in this field should be considered public in that it will go over the wire regardless of the IncludeErrorDetailPolicy. As a result care should be taken not to disclose sensitive information about the server or the application.

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

Syntax

public string Message { get; set; }
public:
property String^ Message {
    String^ get();
    void set(String^ value);
}
member Message : string with get, set
Public Property Message As String

Property Value

Type: System.String

The high-level, user-visible message explaining the cause of the error. Information carried in this field should be considered public in that it will go over the wire regardless of the IncludeErrorDetailPolicy. As a result care should be taken not to disclose sensitive information about the server or the application.

See Also

HttpError Class
System.Web.Http Namespace

Return to top