Share via


HttpError.Message Property

Definition

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 value of error detail policy. As a result care should be taken not to disclose sensitive information about the server or the application.

public string Message { get; set; }
member this.Message : string with get, set
Public Property Message As String

Property Value

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 System.Web.Http.IncludeErrorDetailPolicy. As a result care should be taken not to disclose sensitive information about the server or the application.

Applies to