LoggingOptions.BodySizeLimit 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
取得或設定要讀取之要求或回應本文的最大位元元組數目。
public:
property int BodySizeLimit { int get(); void set(int value); };
[System.ComponentModel.DataAnnotations.Range(1, 1572864)]
public int BodySizeLimit { get; set; }
[<System.ComponentModel.DataAnnotations.Range(1, 1572864)>]
member this.BodySizeLimit : int with get, set
Public Property BodySizeLimit As Integer
屬性值
預設值為 ≈ 32K。
- 屬性
備註
在理想情況下,數字應該低於85000個字節,才能在 大型物件堆積上配置。