diff --git a/xml/System.Net.Http/HttpRequestException.xml b/xml/System.Net.Http/HttpRequestException.xml index 4bba3891bae..cfd109bf860 100644 --- a/xml/System.Net.Http/HttpRequestException.xml +++ b/xml/System.Net.Http/HttpRequestException.xml @@ -141,5 +141,49 @@ To be added. + + + + + + + + Constructor + + System.Net.Http + 5.0.0.0 + + + + + + + A message that describes the current exception. + The inner exception. + The HTTP status code. + Initializes a new instance of the class with a specific message that describes the current exception, an inner exception, and an HTTP status code. + + + + + + + + + + Property + + System.Net.Http + 5.0.0.0 + + + System.Nullable{System.Net.HttpStatusCode} + + + Gets the HTTP status code to be returned with the exception. + An HTTP status code if the exception represents a non-successful result, otherwise null. + This property is new in .NET 5.0. + +