You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
Copy file name to clipboardExpand all lines: xml/System.Net/WebClient.xml
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -72,7 +72,7 @@
72
72
|<xref:System.Net.WebClient.UploadFileAsync%2A>|Sends a local file to the resource, without blocking the calling thread.|
73
73
|<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.|
74
74
|<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.|
76
76
|<xref:System.Net.WebClient.UploadStringAsync%2A>|Sends a <xref:System.String> to the resource, without blocking the calling thread.|
77
77
78
78
The following table describes <xref:System.Net.WebClient> methods for downloading data from a resource.
0 commit comments