Search Results for

    Show / Hide Table of Contents

    Class InternalServerErrorObjectResult

    Defines an that when executed will produce a Internal Server Error (500) response.

    Inheritance
    System.Object
    InternalServerErrorObjectResult
    Namespace: MADE.Web.Mvc.Responses
    Assembly: MADE.Web.Mvc.dll
    Syntax
    public class InternalServerErrorObjectResult : ObjectResult

    Constructors

    | Improve this Doc View Source

    InternalServerErrorObjectResult(ModelStateDictionary)

    Initializes a new instance of the InternalServerErrorObjectResult class.

    Declaration
    public InternalServerErrorObjectResult(ModelStateDictionary modelState)
    Parameters
    Type Name Description
    ModelStateDictionary modelState

    The containing the validation errors.

    Exceptions
    Type Condition
    System.ArgumentNullException

    Thrown if the modelState is null.

    | Improve this Doc View Source

    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.

    Extension Methods

    ReflectionExtensions.GetPropertyValue<T>(Object, String)
    ReflectionExtensions.GetPropertyNames(Object)
    • Improve this Doc
    • View Source
    In This Article
    Back to top Copyright (c) MADE Apps