SocketsHttpHandler.ResponseDrainTimeout 屬性

定義

取得或設定要等候資料從回應中清空的時間長度。

public:
 property TimeSpan ResponseDrainTimeout { TimeSpan get(); void set(TimeSpan value); };
public TimeSpan ResponseDrainTimeout { get; set; }
member this.ResponseDrainTimeout : TimeSpan with get, set
Public Property ResponseDrainTimeout As TimeSpan

屬性值

等候數據從回應清空的時間範圍。

備註

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

適用於