HttpError.ModelState Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
The ModelState containing information about the errors that occurred during model binding.
public System.Web.Http.HttpError ModelState { get; }
member this.ModelState : System.Web.Http.HttpError
Public ReadOnly Property ModelState As HttpError
Property Value
The ModelState containing information about the errors that occurred during model binding.
Remarks
The inclusion of Exception information carried in the ModelState is controlled by the error detail policy. All other information in the ModelState should be considered public in that it will go over the wire. As a result care should be taken not to disclose sensitive information about the server or the application.