Search Results for

    Show / Hide Table of Contents
    View Source

    Class ModelBindingExceptionAttribute

    An exception filter checking if we get a ModelBindingException or with the same model. In which case it returns a redirect to the same page after 1 sec if not in debug mode.

    Inheritance
    System.Object
    System.Attribute
    Microsoft.AspNetCore.Mvc.TypeFilterAttribute
    Namespace: Umbraco.Cms.Web.Common.Filters
    Assembly: Umbraco.Web.Common.dll
    Syntax
    public sealed class ModelBindingExceptionAttribute : TypeFilterAttribute, IFilterFactory, IOrderedFilter, IFilterMetadata
    Remarks

    This is only enabled when using mode

    Constructors

    View Source

    ModelBindingExceptionAttribute()

    Initializes a new instance of the ModelBindingExceptionAttribute class.

    Declaration
    public ModelBindingExceptionAttribute()
    • Improve this Doc
    • View Source
    In This Article
    • Constructors
      • ModelBindingExceptionAttribute()
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX