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)

public string Message { get; set; }

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.

Return to top
Show: