RequestSizeLimitAttribute RequestSizeLimitAttribute RequestSizeLimitAttribute Class

Definition

Sets the request body size limit to the specified size.

[System.AttributeUsage(System.AttributeTargets.Class | System.AttributeTargets.Method, AllowMultiple=false, Inherited=true)]
public class RequestSizeLimitAttribute : Attribute, Microsoft.AspNetCore.Mvc.Filters.IFilterFactory, Microsoft.AspNetCore.Mvc.Filters.IOrderedFilter
type RequestSizeLimitAttribute = class
    inherit Attribute
    interface IFilterFactory
    interface IFilterMetadata
    interface IOrderedFilter
Public Class RequestSizeLimitAttribute
Inherits Attribute
Implements IFilterFactory, IOrderedFilter
Inheritance
RequestSizeLimitAttributeRequestSizeLimitAttributeRequestSizeLimitAttribute
Attributes
Implements

Constructors

RequestSizeLimitAttribute(Int64) RequestSizeLimitAttribute(Int64) RequestSizeLimitAttribute(Int64)

Creates a new instance of RequestSizeLimitAttribute.

Properties

IsReusable IsReusable IsReusable
Order Order Order

Gets the order value for determining the order of execution of filters. Filters execute in ascending numeric value of the Order property.

Methods

CreateInstance(IServiceProvider) CreateInstance(IServiceProvider) CreateInstance(IServiceProvider)

Applies to