Class InternalServerErrorObjectResult
Defines an
Inheritance
System.Object
InternalServerErrorObjectResult
Namespace: MADE.Web.Mvc.Responses
Assembly: MADE.Web.Mvc.dll
Syntax
public class InternalServerErrorObjectResult : ObjectResult
Constructors
| Improve this Doc View SourceInternalServerErrorObjectResult(ModelStateDictionary)
Initializes a new instance of the InternalServerErrorObjectResult class.
Declaration
public InternalServerErrorObjectResult(ModelStateDictionary modelState)
Parameters
Type | Name | Description |
---|---|---|
ModelStateDictionary | modelState | The |
Exceptions
Type | Condition |
---|---|
System.ArgumentNullException | Thrown if the |
InternalServerErrorObjectResult(Object)
Initializes a new instance of the InternalServerErrorObjectResult class.
Declaration
public InternalServerErrorObjectResult(object error)
Parameters
Type | Name | Description |
---|---|---|
System.Object | error | Contains the errors to be returned to the client. |