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:
property String^ Message {
	String^ get();
	void set(String^ value);
}

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: