KestrelServerOptions.MaxRequestBufferSize 属性

定义

注意

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) 。

适用于