Skip to content

Commit ccbee18

Browse files
authored
Merge pull request #1971 from davidsh/EnsureSuccessStatusCode_30
Update HttpResponseMessage.EnsureSuccessStatusCode method
2 parents cd8e52a + 27d335c commit ccbee18

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

xml/System.Net.Http/HttpResponseMessage.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -261,7 +261,7 @@
261261
<format type="text/markdown"><![CDATA[
262262
263263
## Remarks
264-
The <xref:System.Net.Http.HttpResponseMessage.EnsureSuccessStatusCode%2A> method throws an exception if the HTTP response was unsuccessful. If the <xref:System.Net.Http.HttpResponseMessage.Content%2A> is not `null`, this method will also call <xref:System.Net.Http.HttpResponseMessage.Dispose%2A> to free managed and unmanaged resources.
264+
The <xref:System.Net.Http.HttpResponseMessage.EnsureSuccessStatusCode%2A> method throws an exception if the HTTP response was unsuccessful. In .NET Framework and .NET Core 2.2 and earlier versions, if the <xref:System.Net.Http.HttpResponseMessage.Content%2A> is not `null`, this method will also call <xref:System.Net.Http.HttpResponseMessage.Dispose%2A> to free managed and unmanaged resources. Starting with .NET Core 3.0, the content will not be disposed.
265265
266266
]]></format>
267267
</remarks>
@@ -482,4 +482,4 @@
482482
</Docs>
483483
</Member>
484484
</Members>
485-
</Type>
485+
</Type>

0 commit comments

Comments
 (0)