KestrelServerOptions.MaxRequestBufferSize 属性
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
注意
This property is obsolete and will be removed in a future version. Use Limits.MaxRequestBufferSize instead.
此属性已过时,将在将来的版本中删除。
请改用 Limits.MaxRequestBufferSize
。
获取或设置请求缓冲区的最大大小。
public:
property Nullable<long> MaxRequestBufferSize { Nullable<long> get(); void set(Nullable<long> value); };
public long? MaxRequestBufferSize { get; set; }
[System.Obsolete("This property is obsolete and will be removed in a future version. Use Limits.MaxRequestBufferSize instead.")]
public long? MaxRequestBufferSize { get; set; }
member this.MaxRequestBufferSize : Nullable<int64> with get, set
[<System.Obsolete("This property is obsolete and will be removed in a future version. Use Limits.MaxRequestBufferSize instead.")>]
member this.MaxRequestBufferSize : Nullable<int64> with get, set
Public Property MaxRequestBufferSize As Nullable(Of Long)
属性值
- 属性
注解
设置为 null 时,请求缓冲区的大小不受限制。 默认为 1,048,576 字节 (1 MB) 。