RequestSizeLimitAttribute Class
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Sets the request body size limit to the specified size.
public ref class RequestSizeLimitAttribute : Attribute, Microsoft::AspNetCore::Mvc::Filters::IFilterFactory, Microsoft::AspNetCore::Mvc::Filters::IOrderedFilter
[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
[System.AttributeUsage(System.AttributeTargets.Class | System.AttributeTargets.Method, AllowMultiple=false, Inherited=true)]
public class RequestSizeLimitAttribute : Attribute, Microsoft.AspNetCore.Http.Metadata.IRequestSizeLimitMetadata, Microsoft.AspNetCore.Mvc.Filters.IFilterFactory, Microsoft.AspNetCore.Mvc.Filters.IOrderedFilter
[<System.AttributeUsage(System.AttributeTargets.Class | System.AttributeTargets.Method, AllowMultiple=false, Inherited=true)>]
type RequestSizeLimitAttribute = class
inherit Attribute
interface IFilterFactory
interface IFilterMetadata
interface IOrderedFilter
[<System.AttributeUsage(System.AttributeTargets.Class | System.AttributeTargets.Method, AllowMultiple=false, Inherited=true)>]
type RequestSizeLimitAttribute = class
inherit Attribute
interface IFilterFactory
interface IFilterMetadata
interface IOrderedFilter
interface IRequestSizeLimitMetadata
Public Class RequestSizeLimitAttribute
Inherits Attribute
Implements IFilterFactory, IOrderedFilter
Public Class RequestSizeLimitAttribute
Inherits Attribute
Implements IFilterFactory, IOrderedFilter, IRequestSizeLimitMetadata
- Inheritance
-
RequestSizeLimitAttribute
- Attributes
- Implements
Request |
Creates a new instance of RequestSizeLimitAttribute. |
Is |
Gets a value that indicates if the result of CreateInstance(IServiceProvider) can be reused across requests. |
Order |
Gets the order value for determining the order of execution of filters. Filters execute in ascending numeric value of the Order property. |
Create |
Creates an instance of the executable filter. |
IRequest |
The maximum allowed size of the current request body in bytes. |