SocketsHttpHandler.MaxResponseDrainSize 屬性

定義

取得或設定可從回應中清空的資料的數量上限 (以位元組為單位)。

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

屬性值

可從位元組為單位的回應中清空的最大數據量。

備註

當要求取消或回應在完整讀取內容之前處置時,就會清空。 如果清空的位元組數目超過此數量,則會關閉連線,而不是重複使用。

適用於