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