Skip to content

Commit 5d2c10c

Browse files
committed
Use remarks section only
1 parent 26d016e commit 5d2c10c

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

xml/System.Net/CookieContainer.xml

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -77,11 +77,6 @@
7777
7878
The <xref:System.Net.CookieContainer> has three properties that govern the volume of the content of the container: <xref:System.Net.CookieContainer.Capacity%2A>, <xref:System.Net.CookieContainer.MaxCookieSize%2A>, and <xref:System.Net.CookieContainer.PerDomainCapacity%2A>. These values have the default settings of 300, 4096, and 20 respectively. When a <xref:System.Net.Cookie> is added to the container, these properties are used to determine whether a <xref:System.Net.Cookie> already contained in the <xref:System.Net.CookieContainer> should be discarded to make room for the new one. The <xref:System.Net.CookieContainer> keeps track of each addition to ensure that neither the <xref:System.Net.CookieContainer.Capacity%2A> nor the <xref:System.Net.CookieContainer.PerDomainCapacity%2A> limits are exceeded. If one or both are exceeded, then <xref:System.Net.Cookie> instances held by the <xref:System.Net.CookieContainer> are removed. First, any expired <xref:System.Net.Cookie> is removed. If further capacity must be recaptured, then the least-recently used <xref:System.Net.CookieCollection> is purged.
7979
80-
]]></format>
81-
</remarks>
82-
<threadsafe>
83-
<format type="text/markdown"><![CDATA[
84-
8580
## Thread Safety
8681
8782
The methods for adding and retrieving <xref:System.Net.Cookie> instances to and from a <xref:System.Net.CookieContainer> are thread-safe and can be used concurrently from multiple threads.
@@ -91,7 +86,7 @@
9186
> It is not recommended to use cookies together with <xref:System.Net.Http.IHttpClientFactory>.
9287
9388
]]></format>
94-
</threadsafe>
89+
</remarks>
9590
<altmember cref="T:System.Net.Cookie" />
9691
<altmember cref="T:System.Net.CookieCollection" />
9792
<altmember cref="T:System.Net.CookieContainer" />

0 commit comments

Comments
 (0)