Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Gets the model state to include in the error.
Namespace: System.Web.Http.Results
Assembly: System.Web.Http (in System.Web.Http.dll)
Syntax
public ModelStateDictionary ModelState { get; }
public:
property ModelStateDictionary^ ModelState {
ModelStateDictionary^ get();
}
member ModelState : ModelStateDictionary with get
Public ReadOnly Property ModelState As ModelStateDictionary
Property Value
Type: System.Web.Http.ModelBinding.ModelStateDictionary
The model state to include in the error.
See Also
InvalidModelStateResult Class
System.Web.Http.Results Namespace
Return to top