共用方式為


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

適用於