Skip to content

Commit 796bf65

Browse files
authored
Update description for UploadString() method. (#4015)
The remarks section uses the following text for both the `UploadString()` and `UploadStringAsync()` methods: > Sends a String to the resource, without blocking the calling thread. I think this is a copy-and-paste error because only the `UploadStringAsync()` method is non-blocking. I have updated the description for `UploadString()` to follow the pattern used when describing other upload methods.
1 parent 6575b8f commit 796bf65

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

xml/System.Net/WebClient.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@
7272
|<xref:System.Net.WebClient.UploadFileAsync%2A>|Sends a local file to the resource, without blocking the calling thread.|
7373
|<xref:System.Net.WebClient.UploadValues%2A>|Sends a <xref:System.Collections.Specialized.NameValueCollection> to the resource and returns a <xref:System.Byte> array containing any response.|
7474
|<xref:System.Net.WebClient.UploadValuesAsync%2A>|Sends a <xref:System.Collections.Specialized.NameValueCollection> to the resource and returns a <xref:System.Byte> array containing any response, without blocking the calling thread.|
75-
|<xref:System.Net.WebClient.UploadString%2A>|Sends a <xref:System.String> to the resource, without blocking the calling thread.|
75+
|<xref:System.Net.WebClient.UploadString%2A>|Sends a <xref:System.String> to the resource and returns a <xref:System.String> containing any response.|
7676
|<xref:System.Net.WebClient.UploadStringAsync%2A>|Sends a <xref:System.String> to the resource, without blocking the calling thread.|
7777

7878
The following table describes <xref:System.Net.WebClient> methods for downloading data from a resource.

0 commit comments

Comments
 (0)