From 8707dc7cb2bdbb3c2ac8a9f8e338ea140debc68e Mon Sep 17 00:00:00 2001 From: Alexander Nikolaev <55398552+alnikola@users.noreply.github.com> Date: Fri, 5 Jun 2020 17:29:58 +0200 Subject: [PATCH 1/5] HttpRequestException.StatusCode property and ctor --- xml/System.Net.Http/HttpRequestException.xml | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/xml/System.Net.Http/HttpRequestException.xml b/xml/System.Net.Http/HttpRequestException.xml index 4b7386ddd5c..297486f559a 100644 --- a/xml/System.Net.Http/HttpRequestException.xml +++ b/xml/System.Net.Http/HttpRequestException.xml @@ -165,11 +165,10 @@ - To be added. - To be added. - To be added. - To be added. - To be added. + 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. @@ -191,9 +190,9 @@ System.Nullable<System.Net.HttpStatusCode> - To be added. - To be added. - To be added. + 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. From dd3e622b8e86f245713990070c22faa9a3f2e7b7 Mon Sep 17 00:00:00 2001 From: Alexander Nikolaev <55398552+alnikola@users.noreply.github.com> Date: Thu, 11 Jun 2020 12:44:12 +0200 Subject: [PATCH 2/5] Apply suggestions from code review Co-authored-by: Genevieve Warren --- xml/System.Net.Http/HttpRequestException.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/xml/System.Net.Http/HttpRequestException.xml b/xml/System.Net.Http/HttpRequestException.xml index 297486f559a..ba5049fd81e 100644 --- a/xml/System.Net.Http/HttpRequestException.xml +++ b/xml/System.Net.Http/HttpRequestException.xml @@ -168,7 +168,7 @@ 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. + Initializes a new instance of the class with a specific message that describes the current exception, an inner exception, and an HTTP status code. @@ -192,7 +192,7 @@ 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. + This property was introduced in .NET 5.0. From d3e4d09786eb655e1635d683c85680db99e35f21 Mon Sep 17 00:00:00 2001 From: Jan Jahoda Date: Fri, 12 Jun 2020 10:30:05 +0200 Subject: [PATCH 3/5] ServerCertificateSelectionCallback - update documentation (#4351) * ServerCertificateSelectionCallback - update documentation * Apply suggestions from code review Co-authored-by: Maira Wenzel * Apply PR comments Co-authored-by: Jan Jahoda Co-authored-by: Maira Wenzel --- .../ServerCertificateSelectionCallback.xml | 20 ++++++++++++++----- 1 file changed, 15 insertions(+), 5 deletions(-) diff --git a/xml/System.Net.Security/ServerCertificateSelectionCallback.xml b/xml/System.Net.Security/ServerCertificateSelectionCallback.xml index 45edaee2e91..3123ea9dea1 100644 --- a/xml/System.Net.Security/ServerCertificateSelectionCallback.xml +++ b/xml/System.Net.Security/ServerCertificateSelectionCallback.xml @@ -29,10 +29,20 @@ System.Security.Cryptography.X509Certificates.X509Certificate - To be added. - To be added. - To be added. - To be added. - To be added. + A object. + The host name requested by the client. If the client doesn't use the host_name TLS extension, the is an empty string. + Selects the server Secure Sockets Layer (SSL) certificate. + An used for establishing an SSL connection. + + class. The class is used to help secure information exchanged between a client and server. + + ]]> + From 327a855bd18e94b8f228aea1f96509df6e399652 Mon Sep 17 00:00:00 2001 From: Jan Jahoda Date: Fri, 12 Jun 2020 15:41:24 +0200 Subject: [PATCH 4/5] WebHeaderCollection: update item[string] property (#4268) * Update item[string] property * Add IEnumerable.GetEnumerator description * Update xml/System.Net/WebHeaderCollection.xml Co-authored-by: Karel Zikmund * Remove Index[string] Co-authored-by: Karel Zikmund Co-authored-by: Jan Jahoda --- xml/System.Net/WebHeaderCollection.xml | 48 ++------------------------ 1 file changed, 3 insertions(+), 45 deletions(-) diff --git a/xml/System.Net/WebHeaderCollection.xml b/xml/System.Net/WebHeaderCollection.xml index df3c531123d..137ac665ed3 100644 --- a/xml/System.Net/WebHeaderCollection.xml +++ b/xml/System.Net/WebHeaderCollection.xml @@ -1448,49 +1448,7 @@ The length of is greater than 65535. This instance does not allow instances of . - - - - - - - - - Property - - System.Net.WebHeaderCollection - 4.0.0.0 - 4.1.0.0 - 4.1.1.0 - 4.1.2.0 - 5.0.0.0 - - - System.Net.Requests - - - netstandard - 2.1.0.0 - - - System - - - System.Net - - - System.String - - - - - - To be added. - To be added. - To be added. - To be added. - - + @@ -1997,8 +1955,8 @@ - To be added. - To be added. + Returns an enumerator that can iterate through the instance. + An for the . To be added. From c5f3a6b9ab3ed7b0905a95dd55837c33efb0fd9a Mon Sep 17 00:00:00 2001 From: Jan Jahoda Date: Fri, 12 Jun 2020 15:42:10 +0200 Subject: [PATCH 5/5] MediaTypeNames+Application - update documentation (#4324) * MediaTypeNames+Application - update documentation * Apply suggestions from code review Co-authored-by: Karel Zikmund Co-authored-by: Jan Jahoda Co-authored-by: Karel Zikmund --- xml/System.Net.Mime/MediaTypeNames+Application.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/xml/System.Net.Mime/MediaTypeNames+Application.xml b/xml/System.Net.Mime/MediaTypeNames+Application.xml index 5bdb6e1d8be..bc99cb19102 100644 --- a/xml/System.Net.Mime/MediaTypeNames+Application.xml +++ b/xml/System.Net.Mime/MediaTypeNames+Application.xml @@ -64,7 +64,7 @@ System.String - To be added. + Specifies that the data is in JSON format. To be added. @@ -233,7 +233,7 @@ System.String - To be added. + Specifies that the data is in XML format. To be added.