WinHttpHandler.MaxResponseDrainSize 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
取得或設定可從回應中提取的最大資料量(以位元組為單位)。
public:
property int MaxResponseDrainSize { int get(); void set(int value); };
public int MaxResponseDrainSize { get; set; }
member this.MaxResponseDrainSize : int with get, set
Public Property MaxResponseDrainSize As Integer
屬性值
以位元組為單位,從回應中可提取的最大資料量。
備註
從 .NET 10 開始,這個屬性的預設值是 1MB(1024 * 1024 B)。 早期版本的此屬性值為 64 KB(65,536 B)