diff --git a/xml/System.Net.Http/HttpClient.xml b/xml/System.Net.Http/HttpClient.xml
index e2ff18e0cdb..4e8bd348933 100644
--- a/xml/System.Net.Http/HttpClient.xml
+++ b/xml/System.Net.Http/HttpClient.xml
@@ -276,6 +276,9 @@ The specified `handler` will be disposed of by calling [HttpClient.Dispose](xref
]]>
+ The specified is not an absolute URI.
+ The instance has already started one or more requests.
+ The instance has already been disposed.
@@ -508,6 +511,8 @@ The `DefaultRequestVersion` property can be changed as long as the or overloads that accept an .
]]>
+ The instance has already started one or more requests.
+ The instance has already been disposed.
@@ -2349,7 +2354,10 @@ The is not an absolute URI.
]]>
- The size specified is less than or equal to zero.
+ The size specified is less than or equal to zero
+-or-
+
+The size specified is greater than the maximum allowed buffer size.
An operation has already been started on the current instance.
The current instance has been disposed.
@@ -3720,7 +3728,11 @@ httpClient.Timeout = TimeSpan.FromMinutes(10);
]]>
- The timeout specified is less than or equal to zero and is not .
+ The timeout specified is less than or equal to zero and is not
+
+-or-
+
+The timeout specified is greater than milliseconds.
An operation has already been started on the current instance.
The current instance has been disposed.
diff --git a/xml/System.Net.Http/SocketsHttpHandler.xml b/xml/System.Net.Http/SocketsHttpHandler.xml
index c02410966a2..e9df0850c22 100644
--- a/xml/System.Net.Http/SocketsHttpHandler.xml
+++ b/xml/System.Net.Http/SocketsHttpHandler.xml
@@ -126,6 +126,8 @@ These configuration options are not available starting with .NET 5.
Use to disable propagation.
The default is .
To be added.
+ An operation has already been started on the current instance.
+ The current instance has been disposed.
@@ -172,6 +174,8 @@ These configuration options are not available starting with .NET 5.
]]>
+ An operation has already been started on the current instance.
+ The current instance has been disposed.
@@ -210,6 +214,8 @@ These configuration options are not available starting with .NET 5.
]]>
+ An operation has already been started on the current instance.
+ The current instance has been disposed.
@@ -249,6 +255,8 @@ The following code example sets TCP `KeepAlive` on the underlying `Socket`.
:::code language="csharp" source="~/snippets/csharp/System.Net.Http/SocketsHttpHandler/ConnectCallback/program.cs" id="Snippet1":::
+ An operation has already been started on the current instance.
+ The current instance has been disposed.
@@ -277,6 +285,13 @@ The following code example sets TCP `KeepAlive` on the underlying `Socket`.
Gets or sets the timespan to wait before the connection establishing times out.
The timespan to wait before the connection establishing times out. The default value is .
To be added.
+ The timeout specified is less than or equal to zero and is not
+
+-or-
+
+The timeout specified is greater than milliseconds.
+ An operation has already been started on the current instance.
+ The current instance has been disposed.
@@ -311,6 +326,8 @@ The following code example sets TCP `KeepAlive` on the underlying `Socket`.
Gets or sets the managed cookie container object.
The managed cookie container object.
To be added.
+ An operation has already been started on the current instance.
+ The current instance has been disposed.
@@ -340,6 +357,8 @@ The following code example sets TCP `KeepAlive` on the underlying `Socket`.
Gets or sets authentication information used by this handler.
The authentication credentials associated with the handler. The default value is .
To be added.
+ An operation has already been started on the current instance.
+ The current instance has been disposed.
@@ -375,6 +394,8 @@ The default proxy is used only when
+ An operation has already been started on the current instance.
+ The current instance has been disposed.
@@ -433,6 +454,8 @@ The default proxy is used only when
if additional HTTP/2 connections are allowed to be created; otherwise, .
Enabling multiple connections to the same server explicitly goes against RFC 9113 - HTTP/2.
+ An operation has already been started on the current instance.
+ The current instance has been disposed.
@@ -455,6 +478,8 @@ The default proxy is used only when Gets or sets a value that indicates whether additional HTTP/3 connections can be established to the same server.
To be added.
Enabling multiple connections to the same server explicitly goes against RFC 9114 - HTTP/3.
+ An operation has already been started on the current instance.
+ The current instance has been disposed.
@@ -490,6 +515,13 @@ The default proxy is used only when
+ The timeout specified is less than or equal to zero and is not
+
+-or-
+
+The timeout specified is greater than milliseconds.
+ An operation has already been started on the current instance.
+ The current instance has been disposed.
@@ -524,6 +556,9 @@ Larger the values may lead to faster download speed, but potentially higher memo
]]>
+ The provided window size is outside of the supported range.
+ An operation has already been started on the current instance.
+ The current instance has been disposed.
@@ -593,6 +628,13 @@ Delay value must be greater than or equal to 1 second. Set to
+ The provided value is smaller than 1 second and is not
+
+-or-
+
+The provided value is greater than milliseconds.
+ An operation has already been started on the current instance.
+ The current instance has been disposed.
@@ -626,6 +668,8 @@ Keep alive pings are sent when a period of inactivity exceeds the configured
+ An operation has already been started on the current instance.
+ The current instance has been disposed.
@@ -661,6 +705,13 @@ Timeout must be greater than or equal to 1 second. Set to
+ The provided value is smaller than 1 second and is not
+
+-or-
+
+The provided value is greater than milliseconds.
+ An operation has already been started on the current instance.
+ The current instance has been disposed.
@@ -689,6 +740,9 @@ Timeout must be greater than or equal to 1 second. Set to Gets or sets the maximum number of allowed HTTP redirects.
The maximum number of allowed HTTP redirects.
To be added.
+ The value specified is less than or equal to zero.
+ An operation has already been started on the current instance.
+ The current instance has been disposed.
@@ -728,6 +782,9 @@ In this context, server means a unique combination of
]]>
+ The value specified is less than or equal to zero.
+ An operation has already been started on the current instance.
+ The current instance has been disposed.
@@ -762,6 +819,9 @@ Draining occurs when a request is cancelled or a response is disposed prior to f
]]>
+ The value specified is negative.
+ An operation has already been started on the current instance.
+ The current instance has been disposed.
@@ -796,6 +856,9 @@ For example, if the value is 64, then 65,536 bytes are allowed for the maximum r
]]>
+ The value specified is less than or equal to zero.
+ An operation has already been started on the current instance.
+ The current instance has been disposed.
@@ -825,6 +888,8 @@ For example, if the value is 64, then 65,536 bytes are allowed for the maximum r
Gets or sets the to create a custom for the instance.
To be added.
When is set to a non- value, all metrics emitted by the instance will be recorded using the provided by the .
+ An operation has already been started on the current instance.
+ The current instance has been disposed.
@@ -857,6 +922,8 @@ For example, if the value is 64, then 65,536 bytes are allowed for the maximum r
Gets or sets a custom callback that provides access to the plaintext HTTP protocol stream.
A callback that provides access to the plaintext HTTP protocol stream.
To be added.
+ An operation has already been started on the current instance.
+ The current instance has been disposed.
@@ -885,7 +952,9 @@ For example, if the value is 64, then 65,536 bytes are allowed for the maximum r
Gets or sets how long a connection can be idle in the pool to be considered reusable.
The maximum idle time for a connection in the pool. The default value for this property is 1 minute in .NET 6 and later versions; the default value is 2 minutes in .NET Core and .NET 5
To be added.
- The value specified is less than (except ).
+ The value specified is less than and is not .
+ An operation has already been started on the current instance.
+ The current instance has been disposed.
@@ -923,7 +992,9 @@ For example, if the value is 64, then 65,536 bytes are allowed for the maximum r
]]>
- The value specified is less than or is equal to .
+ The value specified is less than and is not .
+ An operation has already been started on the current instance.
+ The current instance has been disposed.
@@ -953,6 +1024,8 @@ For example, if the value is 64, then 65,536 bytes are allowed for the maximum r
if the handler sends an Authorization header with the request; otherwise, .
To be added.
+ An operation has already been started on the current instance.
+ The current instance has been disposed.
@@ -1017,6 +1090,8 @@ For example, if the value is 64, then 65,536 bytes are allowed for the maximum r
Gets or sets the custom proxy when the property is .
The custom proxy.
To be added.
+ An operation has already been started on the current instance.
+ The current instance has been disposed.
@@ -1049,6 +1124,8 @@ For example, if the value is 64, then 65,536 bytes are allowed for the maximum r
Gets or sets a callback that selects the to encode request header values.
The header encoding selector callback that selects the to encode the value for the specified request header name, or to indicate the default behavior.
To be added.
+ An operation has already been started on the current instance.
+ The current instance has been disposed.
@@ -1083,6 +1160,13 @@ Draining occurs when a request is cancelled or a response is disposed prior to f
]]>
+ The timeout specified is less than or equal to zero and is not
+
+-or-
+
+The timeout specified is greater than milliseconds.
+ An operation has already been started on the current instance.
+ The current instance has been disposed.
@@ -1115,6 +1199,8 @@ Draining occurs when a request is cancelled or a response is disposed prior to f
Gets or sets a callback that selects the to decode response header values.
The header encoding selector callback that selects the to decode the value for the specified response header name, or to indicate the default behavior.
To be added.
+ An operation has already been started on the current instance.
+ The current instance has been disposed.
@@ -1254,6 +1340,8 @@ Draining occurs when a request is cancelled or a response is disposed prior to f
Gets or sets a value that indicates whether the handler should use cookies.
A value that indicates whether the handler should use cookies.
To be added.
+ An operation has already been started on the current instance.
+ The current instance has been disposed.
@@ -1282,6 +1370,8 @@ Draining occurs when a request is cancelled or a response is disposed prior to f
Gets or sets a value that indicates whether the handler should use a proxy.
A value that indicates whether the handler should use a proxy.
To be added.
+ An operation has already been started on the current instance.
+ The current instance has been disposed.