Skip to content

HttpRequestException.StatusCode property and ctor #4341

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jun 12, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 7 additions & 8 deletions xml/System.Net.Http/HttpRequestException.xml
Original file line number Diff line number Diff line change
Expand Up @@ -165,11 +165,10 @@
<Parameter Name="statusCode" Type="System.Nullable&lt;System.Net.HttpStatusCode&gt;" Index="2" FrameworkAlternate="net-5.0" />
</Parameters>
<Docs>
<param name="message">To be added.</param>
<param name="inner">To be added.</param>
<param name="statusCode">To be added.</param>
<summary>To be added.</summary>
<remarks>To be added.</remarks>
<param name="message">A message that describes the current exception.</param>
<param name="inner">The inner exception.</param>
<param name="statusCode">The HTTP status code.</param>
<summary>Initializes a new instance of the <see cref="T:System.Net.Http.HttpRequestException" /> class with a specific message that describes the current exception, an inner exception, and an HTTP status code.</summary>
</Docs>
</Member>
<Member MemberName="StatusCode">
Expand All @@ -191,9 +190,9 @@
<ReturnType>System.Nullable&lt;System.Net.HttpStatusCode&gt;</ReturnType>
</ReturnValue>
<Docs>
<summary>To be added.</summary>
<value>To be added.</value>
<remarks>To be added.</remarks>
<summary>Gets the HTTP status code to be returned with the exception.</summary>
<value>An HTTP status code if the exception represents a non-successful result, otherwise <c>null</c>.</value>
<remarks>This property was introduced in .NET 5.0.</remarks>
</Docs>
</Member>
</Members>
Expand Down