1 <?xml version="1.0" encoding="utf-8"?><doc>
3 <name>System.Net.WebClient</name>
6 <member name="T:System.Net.DownloadDataCompletedEventArgs">
7 <summary>Provides data for the <see cref="E:System.Net.WebClient.DownloadDataCompleted"></see> event.</summary>
9 <member name="P:System.Net.DownloadDataCompletedEventArgs.Result">
10 <summary>Gets the data that is downloaded by a <see cref="Overload:System.Net.WebClient.DownloadDataAsync"></see> method.</summary>
11 <returns>A <see cref="System.Byte"></see> array that contains the downloaded data.</returns>
13 <member name="T:System.Net.DownloadDataCompletedEventHandler">
14 <summary>Represents the method that will handle the <see cref="E:System.Net.WebClient.DownloadDataCompleted"></see> event of a <see cref="T:System.Net.WebClient"></see>.</summary>
15 <param name="sender">The source of the event.</param>
16 <param name="e">A <see cref="T:System.Net.DownloadDataCompletedEventArgs"></see> containing event data.</param>
18 <member name="T:System.Net.DownloadProgressChangedEventArgs">
19 <summary>Provides data for the <see cref="E:System.Net.WebClient.DownloadProgressChanged"></see> event of a <see cref="T:System.Net.WebClient"></see>.</summary>
21 <member name="P:System.Net.DownloadProgressChangedEventArgs.BytesReceived">
22 <summary>Gets the number of bytes received.</summary>
23 <returns>An <see cref="System.Int64"></see> value that indicates the number of bytes received.</returns>
25 <member name="P:System.Net.DownloadProgressChangedEventArgs.TotalBytesToReceive">
26 <summary>Gets the total number of bytes in a <see cref="T:System.Net.WebClient"></see> data download operation.</summary>
27 <returns>An <see cref="System.Int64"></see> value that indicates the number of bytes that will be received.</returns>
29 <member name="T:System.Net.DownloadProgressChangedEventHandler">
30 <summary>Represents the method that will handle the <see cref="E:System.Net.WebClient.DownloadProgressChanged"></see> event of a <see cref="T:System.Net.WebClient"></see>.</summary>
31 <param name="sender">The source of the event.</param>
32 <param name="e">A <see cref="T:System.Net.DownloadProgressChangedEventArgs"></see> containing event data.</param>
34 <member name="T:System.Net.DownloadStringCompletedEventArgs">
35 <summary>Provides data for the <see cref="E:System.Net.WebClient.DownloadStringCompleted"></see> event.</summary>
37 <member name="P:System.Net.DownloadStringCompletedEventArgs.Result">
38 <summary>Gets the data that is downloaded by a <see cref="Overload:System.Net.WebClient.DownloadStringAsync"></see> method.</summary>
39 <returns>A <see cref="System.String"></see> that contains the downloaded data.</returns>
41 <member name="T:System.Net.DownloadStringCompletedEventHandler">
42 <summary>Represents the method that will handle the <see cref="E:System.Net.WebClient.DownloadStringCompleted"></see> event of a <see cref="T:System.Net.WebClient"></see>.</summary>
43 <param name="sender">The source of the event.</param>
44 <param name="e">A <see cref="T:System.Net.DownloadStringCompletedEventArgs"></see> that contains event data.</param>
46 <member name="T:System.Net.OpenReadCompletedEventArgs">
47 <summary>Provides data for the <see cref="E:System.Net.WebClient.OpenReadCompleted"></see> event.</summary>
49 <member name="P:System.Net.OpenReadCompletedEventArgs.Result">
50 <summary>Gets a readable stream that contains data downloaded by a <see cref="Overload:System.Net.WebClient.DownloadDataAsync"></see> method.</summary>
51 <returns>A <see cref="System.IO.Stream"></see> that contains the downloaded data.</returns>
53 <member name="T:System.Net.OpenReadCompletedEventHandler">
54 <summary>Represents the method that will handle the <see cref="E:System.Net.WebClient.OpenReadCompleted"></see> event of a <see cref="T:System.Net.WebClient"></see>.</summary>
55 <param name="sender">The source of the event.</param>
56 <param name="e">A <see cref="T:System.Net.OpenReadCompletedEventArgs"></see> containing event data.</param>
58 <member name="T:System.Net.OpenWriteCompletedEventArgs">
59 <summary>Provides data for the <see cref="E:System.Net.WebClient.OpenWriteCompleted"></see> event.</summary>
61 <member name="P:System.Net.OpenWriteCompletedEventArgs.Result">
62 <summary>Gets a writable stream that is used to send data to a server.</summary>
63 <returns>A <see cref="System.IO.Stream"></see> where you can write data to be uploaded.</returns>
65 <member name="T:System.Net.OpenWriteCompletedEventHandler">
66 <summary>Represents the method that will handle the <see cref="E:System.Net.WebClient.OpenWriteCompleted"></see> event of a <see cref="T:System.Net.WebClient"></see>.</summary>
67 <param name="sender">The source of the event.</param>
68 <param name="e">A <see cref="T:System.Net.OpenWriteCompletedEventArgs"></see> containing event data.</param>
70 <member name="T:System.Net.UploadDataCompletedEventArgs">
71 <summary>Provides data for the <see cref="E:System.Net.WebClient.UploadDataCompleted"></see> event.</summary>
73 <member name="P:System.Net.UploadDataCompletedEventArgs.Result">
74 <summary>Gets the server reply to a data upload operation started by calling an <see cref="Overload:System.Net.WebClient.UploadDataAsync"></see> method.</summary>
75 <returns>A <see cref="System.Byte"></see> array containing the server reply.</returns>
77 <member name="T:System.Net.UploadDataCompletedEventHandler">
78 <summary>Represents the method that will handle the <see cref="E:System.Net.WebClient.UploadDataCompleted"></see> event of a <see cref="T:System.Net.WebClient"></see>.</summary>
79 <param name="sender">The source of the event.</param>
80 <param name="e">A <see cref="T:System.Net.UploadDataCompletedEventArgs"></see> containing event data.</param>
82 <member name="T:System.Net.UploadFileCompletedEventArgs">
83 <summary>Provides data for the <see cref="E:System.Net.WebClient.UploadFileCompleted"></see> event.</summary>
85 <member name="P:System.Net.UploadFileCompletedEventArgs.Result">
86 <summary>Gets the server reply to a data upload operation that is started by calling an <see cref="Overload:System.Net.WebClient.UploadFileAsync"></see> method.</summary>
87 <returns>A <see cref="System.Byte"></see> array that contains the server reply.</returns>
89 <member name="T:System.Net.UploadFileCompletedEventHandler">
90 <summary>Represents the method that will handle the <see cref="E:System.Net.WebClient.UploadFileCompleted"></see> event of a <see cref="T:System.Net.WebClient"></see>.</summary>
91 <param name="sender">The source of the event.</param>
92 <param name="e">A <see cref="T:System.Net.UploadFileCompletedEventArgs"></see> that contains event data.</param>
94 <member name="T:System.Net.UploadProgressChangedEventArgs">
95 <summary>Provides data for the <see cref="E:System.Net.WebClient.UploadProgressChanged"></see> event of a <see cref="T:System.Net.WebClient"></see>.</summary>
97 <member name="P:System.Net.UploadProgressChangedEventArgs.BytesReceived">
98 <summary>Gets the number of bytes received.</summary>
99 <returns>An <see cref="System.Int64"></see> value that indicates the number of bytes received.</returns>
101 <member name="P:System.Net.UploadProgressChangedEventArgs.BytesSent">
102 <summary>Gets the number of bytes sent.</summary>
103 <returns>An <see cref="System.Int64"></see> value that indicates the number of bytes sent.</returns>
105 <member name="P:System.Net.UploadProgressChangedEventArgs.TotalBytesToReceive">
106 <summary>Gets the total number of bytes in a <see cref="T:System.Net.WebClient"></see> data upload operation.</summary>
107 <returns>An <see cref="System.Int64"></see> value that indicates the number of bytes that will be received.</returns>
109 <member name="P:System.Net.UploadProgressChangedEventArgs.TotalBytesToSend">
110 <summary>Gets the total number of bytes to send.</summary>
111 <returns>An <see cref="System.Int64"></see> value that indicates the number of bytes that will be sent.</returns>
113 <member name="T:System.Net.UploadProgressChangedEventHandler">
114 <summary>Represents the method that will handle the <see cref="E:System.Net.WebClient.UploadProgressChanged"></see> event of a <see cref="T:System.Net.WebClient"></see>.</summary>
115 <param name="sender">The source of the event.</param>
116 <param name="e">A <see cref="T:System.Net.UploadProgressChangedEventArgs"></see> containing event data.</param>
118 <member name="T:System.Net.UploadStringCompletedEventArgs">
119 <summary>Provides data for the <see cref="E:System.Net.WebClient.UploadStringCompleted"></see> event.</summary>
121 <member name="P:System.Net.UploadStringCompletedEventArgs.Result">
122 <summary>Gets the server reply to a string upload operation that is started by calling an <see cref="Overload:System.Net.WebClient.UploadStringAsync"></see> method.</summary>
123 <returns>A <see cref="System.Byte"></see> array that contains the server reply.</returns>
125 <member name="T:System.Net.UploadStringCompletedEventHandler">
126 <summary>Represents the method that will handle the <see cref="E:System.Net.WebClient.UploadStringCompleted"></see> event of a <see cref="T:System.Net.WebClient"></see>.</summary>
127 <param name="sender">The source of the event.</param>
128 <param name="e">A <see cref="T:System.Net.UploadStringCompletedEventArgs"></see> containing event data.</param>
130 <member name="T:System.Net.UploadValuesCompletedEventArgs">
131 <summary>Provides data for the <see cref="E:System.Net.WebClient.UploadValuesCompleted"></see> event.</summary>
133 <member name="P:System.Net.UploadValuesCompletedEventArgs.Result">
134 <summary>Gets the server reply to a data upload operation started by calling an <see cref="Overload:System.Net.WebClient.UploadValuesAsync"></see> method.</summary>
135 <returns>A <see cref="System.Byte"></see> array containing the server reply.</returns>
137 <member name="T:System.Net.UploadValuesCompletedEventHandler">
138 <summary>Represents the method that will handle the <see cref="E:System.Net.WebClient.UploadValuesCompleted"></see> event of a <see cref="T:System.Net.WebClient"></see>.</summary>
139 <param name="sender">The source of the event.</param>
140 <param name="e">A <see cref="T:System.Net.UploadValuesCompletedEventArgs"></see> that contains event data.</param>
142 <member name="T:System.Net.WebClient">
143 <summary>Provides common methods for sending data to and receiving data from a resource identified by a URI.</summary>
145 <member name="M:System.Net.WebClient.#ctor">
146 <summary>Initializes a new instance of the <see cref="T:System.Net.WebClient"></see> class.</summary>
148 <member name="P:System.Net.WebClient.AllowReadStreamBuffering">
149 <summary>Gets or sets a value that indicates whether to buffer the data read from the Internet resource for a <see cref="T:System.Net.WebClient"></see> instance.</summary>
150 <returns>Returns <see cref="System.Boolean"></see>.
151 true to enable buffering of the data received from the Internet resource; false to disable buffering. The default is true.</returns>
153 <member name="P:System.Net.WebClient.AllowWriteStreamBuffering">
154 <summary>Gets or sets a value that indicates whether to buffer the data written to the Internet resource for a <see cref="T:System.Net.WebClient"></see> instance.</summary>
155 <returns>Returns <see cref="System.Boolean"></see>.
156 true to enable buffering of the data written to the Internet resource; false to disable buffering. The default is true.</returns>
158 <member name="P:System.Net.WebClient.BaseAddress">
159 <summary>Gets or sets the base URI for requests made by a <see cref="T:System.Net.WebClient"></see>.</summary>
160 <returns>A <see cref="System.String"></see> containing the base URI for requests made by a <see cref="System.Net.WebClient"></see> or <see cref="System.String.Empty"></see> if no base address has been specified.</returns>
161 <exception cref="T:System.ArgumentException"><see cref="System.Net.WebClient.BaseAddress"></see> is set to an invalid URI. The inner exception may contain information that will help you locate the error.</exception>
163 <member name="P:System.Net.WebClient.CachePolicy">
164 <summary>Gets or sets the application&#39;s cache policy for any resources obtained by this WebClient instance using <see cref="T:System.Net.WebRequest"></see> objects.</summary>
165 <returns>A <see cref="System.Net.Cache.RequestCachePolicy"></see> object that represents the application&#39;s caching requirements.</returns>
167 <member name="M:System.Net.WebClient.CancelAsync">
168 <summary>Cancels a pending asynchronous operation.</summary>
170 <member name="P:System.Net.WebClient.Credentials">
171 <summary>Gets or sets the network credentials that are sent to the host and used to authenticate the request.</summary>
172 <returns>An <see cref="System.Net.ICredentials"></see> containing the authentication credentials for the request. The default is null.</returns>
174 <member name="M:System.Net.WebClient.DownloadData(System.String)">
175 <summary>Downloads the resource as a <see cref="T:System.Byte"></see> array from the URI specified.</summary>
176 <param name="address">The URI from which to download data.</param>
177 <returns>A <see cref="System.Byte"></see> array containing the downloaded resource.</returns>
178 <exception cref="T:System.ArgumentNullException">The <paramref name="address">address</paramref> parameter is null.</exception>
179 <exception cref="T:System.Net.WebException">The URI formed by combining <see cref="System.Net.WebClient.BaseAddress"></see> and <paramref name="address">address</paramref> is invalid.
181 An error occurred while downloading data.</exception>
182 <exception cref="T:System.NotSupportedException">The method has been called simultaneously on multiple threads.</exception>
184 <member name="M:System.Net.WebClient.DownloadData(System.Uri)">
185 <summary>Downloads the resource as a <see cref="T:System.Byte"></see> array from the URI specified.</summary>
186 <param name="address">The URI represented by the <see cref="T:System.Uri"></see> object, from which to download data.</param>
187 <returns>A <see cref="System.Byte"></see> array containing the downloaded resource.</returns>
188 <exception cref="T:System.ArgumentNullException">The <paramref name="address">address</paramref> parameter is null.</exception>
190 <member name="M:System.Net.WebClient.DownloadDataAsync(System.Uri)">
191 <summary>Downloads the resource as a <see cref="T:System.Byte"></see> array from the URI specified as an asynchronous operation.</summary>
192 <param name="address">A <see cref="T:System.Uri"></see> containing the URI to download.</param>
193 <exception cref="T:System.ArgumentNullException">The <paramref name="address">address</paramref> parameter is null.</exception>
194 <exception cref="T:System.Net.WebException">The URI formed by combining <see cref="System.Net.WebClient.BaseAddress"></see> and <paramref name="address">address</paramref> is invalid.
196 An error occurred while downloading the resource.</exception>
198 <member name="M:System.Net.WebClient.DownloadDataAsync(System.Uri,System.Object)">
199 <summary>Downloads the resource as a <see cref="T:System.Byte"></see> array from the URI specified as an asynchronous operation.</summary>
200 <param name="address">A <see cref="T:System.Uri"></see> containing the URI to download.</param>
201 <param name="userToken">A user-defined object that is passed to the method invoked when the asynchronous operation completes.</param>
202 <exception cref="T:System.ArgumentNullException">The <paramref name="address">address</paramref> parameter is null.</exception>
203 <exception cref="T:System.Net.WebException">The URI formed by combining <see cref="System.Net.WebClient.BaseAddress"></see> and <paramref name="address">address</paramref> is invalid.
205 An error occurred while downloading the resource.</exception>
207 <member name="E:System.Net.WebClient.DownloadDataCompleted">
208 <summary>Occurs when an asynchronous data download operation completes.</summary>
210 <member name="M:System.Net.WebClient.DownloadDataTaskAsync(System.String)">
211 <summary>Downloads the resource as a <see cref="T:System.Byte"></see> array from the URI specified as an asynchronous operation using a task object.</summary>
212 <param name="address">The URI of the resource to download.</param>
213 <returns>Returns <see cref="System.Threading.Tasks.Task`1"></see>.
214 The task object representing the asynchronous operation. The <see cref="System.Threading.Tasks.Task`1.Result"></see> property on the task object returns a <see cref="System.Byte"></see> array containing the downloaded resource.</returns>
215 <exception cref="T:System.ArgumentNullException">The <paramref name="address">address</paramref> parameter is null.</exception>
216 <exception cref="T:System.Net.WebException">The URI formed by combining <see cref="System.Net.WebClient.BaseAddress"></see> and <paramref name="address">address</paramref> is invalid.
218 An error occurred while downloading the resource.</exception>
220 <member name="M:System.Net.WebClient.DownloadDataTaskAsync(System.Uri)">
221 <summary>Downloads the resource as a <see cref="T:System.Byte"></see> array from the URI specified as an asynchronous operation using a task object.</summary>
222 <param name="address">The URI of the resource to download.</param>
223 <returns>Returns <see cref="System.Threading.Tasks.Task`1"></see>.
224 The task object representing the asynchronous operation. The <see cref="System.Threading.Tasks.Task`1.Result"></see> property on the task object returns a <see cref="System.Byte"></see> array containing the downloaded resource.</returns>
225 <exception cref="T:System.ArgumentNullException">The <paramref name="address">address</paramref> parameter is null.</exception>
226 <exception cref="T:System.Net.WebException">The URI formed by combining <see cref="System.Net.WebClient.BaseAddress"></see> and <paramref name="address">address</paramref> is invalid.
228 An error occurred while downloading the resource.</exception>
230 <member name="M:System.Net.WebClient.DownloadFile(System.Uri,System.String)">
231 <summary>Downloads the resource with the specified URI to a local file.</summary>
232 <param name="address">The URI specified as a <see cref="T:System.String"></see>, from which to download data.</param>
233 <param name="fileName">The name of the local file that is to receive the data.</param>
234 <exception cref="T:System.ArgumentNullException">The <paramref name="address">address</paramref> parameter is null.
236 The <paramref name="fileName">fileName</paramref> parameter is null.</exception>
237 <exception cref="T:System.Net.WebException">The URI formed by combining <see cref="System.Net.WebClient.BaseAddress"></see> and <paramref name="address">address</paramref> is invalid.
239 <paramref name="filename">filename</paramref> is null or <see cref="System.String.Empty"></see>.
241 The file does not exist.
243 An error occurred while downloading data.</exception>
244 <exception cref="T:System.NotSupportedException">The method has been called simultaneously on multiple threads.</exception>
246 <member name="M:System.Net.WebClient.DownloadFile(System.String,System.String)">
247 <summary>Downloads the resource with the specified URI to a local file.</summary>
248 <param name="address">The URI from which to download data.</param>
249 <param name="fileName">The name of the local file that is to receive the data.</param>
250 <exception cref="T:System.ArgumentNullException">The <paramref name="address">address</paramref> parameter is null.</exception>
251 <exception cref="T:System.Net.WebException">The URI formed by combining <see cref="System.Net.WebClient.BaseAddress"></see> and <paramref name="address">address</paramref> is invalid.
253 <paramref name="filename">filename</paramref> is null or <see cref="System.String.Empty"></see>.
255 The file does not exist.
256 -or- An error occurred while downloading data.</exception>
257 <exception cref="T:System.NotSupportedException">The method has been called simultaneously on multiple threads.</exception>
259 <member name="M:System.Net.WebClient.DownloadFileAsync(System.Uri,System.String)">
260 <summary>Downloads, to a local file, the resource with the specified URI. This method does not block the calling thread.</summary>
261 <param name="address">The URI of the resource to download.</param>
262 <param name="fileName">The name of the file to be placed on the local computer.</param>
263 <exception cref="T:System.ArgumentNullException">The <paramref name="address">address</paramref> parameter is null.
265 The <paramref name="fileName">fileName</paramref> parameter is null.</exception>
266 <exception cref="T:System.Net.WebException">The URI formed by combining <see cref="System.Net.WebClient.BaseAddress"></see> and <paramref name="address">address</paramref> is invalid.
268 An error occurred while downloading the resource.</exception>
269 <exception cref="T:System.InvalidOperationException">The local file specified by <paramref name="fileName">fileName</paramref> is in use by another thread.</exception>
271 <member name="M:System.Net.WebClient.DownloadFileAsync(System.Uri,System.String,System.Object)">
272 <summary>Downloads, to a local file, the resource with the specified URI. This method does not block the calling thread.</summary>
273 <param name="address">The URI of the resource to download.</param>
274 <param name="fileName">The name of the file to be placed on the local computer.</param>
275 <param name="userToken">A user-defined object that is passed to the method invoked when the asynchronous operation completes.</param>
276 <exception cref="T:System.ArgumentNullException">The <paramref name="address">address</paramref> parameter is null.
278 The <paramref name="fileName">fileName</paramref> parameter is null.</exception>
279 <exception cref="T:System.Net.WebException">The URI formed by combining <see cref="System.Net.WebClient.BaseAddress"></see> and <paramref name="address">address</paramref> is invalid.
281 An error occurred while downloading the resource.</exception>
282 <exception cref="T:System.InvalidOperationException">The local file specified by <paramref name="fileName">fileName</paramref> is in use by another thread.</exception>
284 <member name="E:System.Net.WebClient.DownloadFileCompleted">
285 <summary>Occurs when an asynchronous file download operation completes.</summary>
287 <member name="M:System.Net.WebClient.DownloadFileTaskAsync(System.String,System.String)">
288 <summary>Downloads the specified resource to a local file as an asynchronous operation using a task object.</summary>
289 <param name="address">The URI of the resource to download.</param>
290 <param name="fileName">The name of the file to be placed on the local computer.</param>
291 <returns>Returns <see cref="System.Threading.Tasks.Task"></see>.
292 The task object representing the asynchronous operation.</returns>
293 <exception cref="T:System.ArgumentNullException">The <paramref name="address">address</paramref> parameter is null.
295 The <paramref name="fileName">fileName</paramref> parameter is null.</exception>
296 <exception cref="T:System.Net.WebException">The URI formed by combining <see cref="System.Net.WebClient.BaseAddress"></see> and <paramref name="address">address</paramref> is invalid.
298 An error occurred while downloading the resource.</exception>
299 <exception cref="T:System.InvalidOperationException">The local file specified by <paramref name="fileName">fileName</paramref> is in use by another thread.</exception>
301 <member name="M:System.Net.WebClient.DownloadFileTaskAsync(System.Uri,System.String)">
302 <summary>Downloads the specified resource to a local file as an asynchronous operation using a task object.</summary>
303 <param name="address">The URI of the resource to download.</param>
304 <param name="fileName">The name of the file to be placed on the local computer.</param>
305 <returns>Returns <see cref="System.Threading.Tasks.Task"></see>.
306 The task object representing the asynchronous operation.</returns>
307 <exception cref="T:System.ArgumentNullException">The <paramref name="address">address</paramref> parameter is null.
309 The <paramref name="fileName">fileName</paramref> parameter is null.</exception>
310 <exception cref="T:System.Net.WebException">The URI formed by combining <see cref="System.Net.WebClient.BaseAddress"></see> and <paramref name="address">address</paramref> is invalid.
312 An error occurred while downloading the resource.</exception>
313 <exception cref="T:System.InvalidOperationException">The local file specified by <paramref name="fileName">fileName</paramref> is in use by another thread.</exception>
315 <member name="E:System.Net.WebClient.DownloadProgressChanged">
316 <summary>Occurs when an asynchronous download operation successfully transfers some or all of the data.</summary>
318 <member name="M:System.Net.WebClient.DownloadString(System.String)">
319 <summary>Downloads the requested resource as a <see cref="T:System.String"></see>. The resource to download is specified as a <see cref="T:System.String"></see> containing the URI.</summary>
320 <param name="address">A <see cref="T:System.String"></see> containing the URI to download.</param>
321 <returns>A <see cref="System.String"></see> containing the requested resource.</returns>
322 <exception cref="T:System.ArgumentNullException">The <paramref name="address">address</paramref> parameter is null.</exception>
323 <exception cref="T:System.Net.WebException">The URI formed by combining <see cref="System.Net.WebClient.BaseAddress"></see> and <paramref name="address">address</paramref> is invalid.
325 An error occurred while downloading the resource.</exception>
326 <exception cref="T:System.NotSupportedException">The method has been called simultaneously on multiple threads.</exception>
328 <member name="M:System.Net.WebClient.DownloadString(System.Uri)">
329 <summary>Downloads the requested resource as a <see cref="T:System.String"></see>. The resource to download is specified as a <see cref="T:System.Uri"></see>.</summary>
330 <param name="address">A <see cref="T:System.Uri"></see> object containing the URI to download.</param>
331 <returns>A <see cref="System.String"></see> containing the requested resource.</returns>
332 <exception cref="T:System.ArgumentNullException">The <paramref name="address">address</paramref> parameter is null.</exception>
333 <exception cref="T:System.Net.WebException">The URI formed by combining <see cref="System.Net.WebClient.BaseAddress"></see> and <paramref name="address">address</paramref> is invalid.
335 An error occurred while downloading the resource.</exception>
336 <exception cref="T:System.NotSupportedException">The method has been called simultaneously on multiple threads.</exception>
338 <member name="M:System.Net.WebClient.DownloadStringAsync(System.Uri)">
339 <summary>Downloads the resource specified as a <see cref="T:System.Uri"></see>. This method does not block the calling thread.</summary>
340 <param name="address">A <see cref="T:System.Uri"></see> containing the URI to download.</param>
341 <exception cref="T:System.ArgumentNullException">The <paramref name="address">address</paramref> parameter is null.</exception>
342 <exception cref="T:System.Net.WebException">The URI formed by combining <see cref="System.Net.WebClient.BaseAddress"></see> and <paramref name="address">address</paramref> is invalid.
344 An error occurred while downloading the resource.</exception>
346 <member name="M:System.Net.WebClient.DownloadStringAsync(System.Uri,System.Object)">
347 <summary>Downloads the specified string to the specified resource. This method does not block the calling thread.</summary>
348 <param name="address">A <see cref="T:System.Uri"></see> containing the URI to download.</param>
349 <param name="userToken">A user-defined object that is passed to the method invoked when the asynchronous operation completes.</param>
350 <exception cref="T:System.ArgumentNullException">The <paramref name="address">address</paramref> parameter is null.</exception>
351 <exception cref="T:System.Net.WebException">The URI formed by combining <see cref="System.Net.WebClient.BaseAddress"></see> and <paramref name="address">address</paramref> is invalid.
353 An error occurred while downloading the resource.</exception>
355 <member name="E:System.Net.WebClient.DownloadStringCompleted">
356 <summary>Occurs when an asynchronous resource-download operation completes.</summary>
358 <member name="M:System.Net.WebClient.DownloadStringTaskAsync(System.String)">
359 <summary>Downloads the resource as a <see cref="T:System.String"></see> from the URI specified as an asynchronous operation using a task object.</summary>
360 <param name="address">The URI of the resource to download.</param>
361 <returns>Returns <see cref="System.Threading.Tasks.Task`1"></see>.
362 The task object representing the asynchronous operation. The <see cref="System.Threading.Tasks.Task`1.Result"></see> property on the task object returns a <see cref="System.Byte"></see> array containing the downloaded resource.</returns>
363 <exception cref="T:System.ArgumentNullException">The <paramref name="address">address</paramref> parameter is null.</exception>
364 <exception cref="T:System.Net.WebException">The URI formed by combining <see cref="System.Net.WebClient.BaseAddress"></see> and <paramref name="address">address</paramref> is invalid.
366 An error occurred while downloading the resource.</exception>
368 <member name="M:System.Net.WebClient.DownloadStringTaskAsync(System.Uri)">
369 <summary>Downloads the resource as a <see cref="T:System.String"></see> from the URI specified as an asynchronous operation using a task object.</summary>
370 <param name="address">The URI of the resource to download.</param>
371 <returns>Returns <see cref="System.Threading.Tasks.Task`1"></see>.
372 The task object representing the asynchronous operation. The <see cref="System.Threading.Tasks.Task`1.Result"></see> property on the task object returns a <see cref="System.Byte"></see> array containing the downloaded resource.</returns>
373 <exception cref="T:System.ArgumentNullException">The <paramref name="address">address</paramref> parameter is null.</exception>
374 <exception cref="T:System.Net.WebException">The URI formed by combining <see cref="System.Net.WebClient.BaseAddress"></see> and <paramref name="address">address</paramref> is invalid.
376 An error occurred while downloading the resource.</exception>
378 <member name="P:System.Net.WebClient.Encoding">
379 <summary>Gets and sets the <see cref="T:System.Text.Encoding"></see> used to upload and download strings.</summary>
380 <returns>A <see cref="System.Text.Encoding"></see> that is used to encode strings. The default value of this property is the encoding returned by <see cref="System.Text.Encoding.Default"></see>.</returns>
382 <member name="M:System.Net.WebClient.GetWebRequest(System.Uri)">
383 <summary>Returns a <see cref="T:System.Net.WebRequest"></see> object for the specified resource.</summary>
384 <param name="address">A <see cref="T:System.Uri"></see> that identifies the resource to request.</param>
385 <returns>A new <see cref="System.Net.WebRequest"></see> object for the specified resource.</returns>
387 <member name="M:System.Net.WebClient.GetWebResponse(System.Net.WebRequest)">
388 <summary>Returns the <see cref="T:System.Net.WebResponse"></see> for the specified <see cref="T:System.Net.WebRequest"></see>.</summary>
389 <param name="request">A <see cref="T:System.Net.WebRequest"></see> that is used to obtain the response.</param>
390 <returns>A <see cref="System.Net.WebResponse"></see> containing the response for the specified <see cref="System.Net.WebRequest"></see>.</returns>
392 <member name="M:System.Net.WebClient.GetWebResponse(System.Net.WebRequest,System.IAsyncResult)">
393 <summary>Returns the <see cref="T:System.Net.WebResponse"></see> for the specified <see cref="T:System.Net.WebRequest"></see> using the specified <see cref="T:System.IAsyncResult"></see>.</summary>
394 <param name="request">A <see cref="T:System.Net.WebRequest"></see> that is used to obtain the response.</param>
395 <param name="result">An <see cref="T:System.IAsyncResult"></see> object obtained from a previous call to <see cref="M:System.Net.WebRequest.BeginGetResponse(System.AsyncCallback,System.Object)"></see> .</param>
396 <returns>A <see cref="System.Net.WebResponse"></see> containing the response for the specified <see cref="System.Net.WebRequest"></see>.</returns>
398 <member name="P:System.Net.WebClient.Headers">
399 <summary>Gets or sets a collection of header name/value pairs associated with the request.</summary>
400 <returns>A <see cref="System.Net.WebHeaderCollection"></see> containing header name/value pairs associated with this request.</returns>
402 <member name="P:System.Net.WebClient.IsBusy">
403 <summary>Gets whether a Web request is in progress.</summary>
404 <returns>true if the Web request is still in progress; otherwise false.</returns>
406 <member name="M:System.Net.WebClient.OnDownloadDataCompleted(System.Net.DownloadDataCompletedEventArgs)">
407 <summary>Raises the <see cref="E:System.Net.WebClient.DownloadDataCompleted"></see> event.</summary>
408 <param name="e">A <see cref="T:System.Net.DownloadDataCompletedEventArgs"></see> object that contains event data.</param>
410 <member name="M:System.Net.WebClient.OnDownloadFileCompleted(System.ComponentModel.AsyncCompletedEventArgs)">
411 <summary>Raises the <see cref="E:System.Net.WebClient.DownloadFileCompleted"></see> event.</summary>
412 <param name="e">An <see cref="T:System.ComponentModel.AsyncCompletedEventArgs"></see> object containing event data.</param>
414 <member name="M:System.Net.WebClient.OnDownloadProgressChanged(System.Net.DownloadProgressChangedEventArgs)">
415 <summary>Raises the <see cref="E:System.Net.WebClient.DownloadProgressChanged"></see> event.</summary>
416 <param name="e">A <see cref="T:System.Net.DownloadProgressChangedEventArgs"></see> object containing event data.</param>
418 <member name="M:System.Net.WebClient.OnDownloadStringCompleted(System.Net.DownloadStringCompletedEventArgs)">
419 <summary>Raises the <see cref="E:System.Net.WebClient.DownloadStringCompleted"></see> event.</summary>
420 <param name="e">A <see cref="T:System.Net.DownloadStringCompletedEventArgs"></see> object containing event data.</param>
422 <member name="M:System.Net.WebClient.OnOpenReadCompleted(System.Net.OpenReadCompletedEventArgs)">
423 <summary>Raises the <see cref="E:System.Net.WebClient.OpenReadCompleted"></see> event.</summary>
424 <param name="e">A <see cref="T:System.Net.OpenReadCompletedEventArgs"></see> object containing event data.</param>
426 <member name="M:System.Net.WebClient.OnOpenWriteCompleted(System.Net.OpenWriteCompletedEventArgs)">
427 <summary>Raises the <see cref="E:System.Net.WebClient.OpenWriteCompleted"></see> event.</summary>
428 <param name="e">A <see cref="T:System.Net.OpenWriteCompletedEventArgs"></see> object containing event data.</param>
430 <member name="M:System.Net.WebClient.OnUploadDataCompleted(System.Net.UploadDataCompletedEventArgs)">
431 <summary>Raises the <see cref="E:System.Net.WebClient.UploadDataCompleted"></see> event.</summary>
432 <param name="e">A <see cref="T:System.Net.UploadDataCompletedEventArgs"></see> object containing event data.</param>
434 <member name="M:System.Net.WebClient.OnUploadFileCompleted(System.Net.UploadFileCompletedEventArgs)">
435 <summary>Raises the <see cref="E:System.Net.WebClient.UploadFileCompleted"></see> event.</summary>
436 <param name="e">An <see cref="T:System.Net.UploadFileCompletedEventArgs"></see> object containing event data.</param>
438 <member name="M:System.Net.WebClient.OnUploadProgressChanged(System.Net.UploadProgressChangedEventArgs)">
439 <summary>Raises the <see cref="E:System.Net.WebClient.UploadProgressChanged"></see> event.</summary>
440 <param name="e">An <see cref="T:System.Net.UploadProgressChangedEventArgs"></see> object containing event data.</param>
442 <member name="M:System.Net.WebClient.OnUploadStringCompleted(System.Net.UploadStringCompletedEventArgs)">
443 <summary>Raises the <see cref="E:System.Net.WebClient.UploadStringCompleted"></see> event.</summary>
444 <param name="e">An <see cref="T:System.Net.UploadStringCompletedEventArgs"></see> object containing event data.</param>
446 <member name="M:System.Net.WebClient.OnUploadValuesCompleted(System.Net.UploadValuesCompletedEventArgs)">
447 <summary>Raises the <see cref="E:System.Net.WebClient.UploadValuesCompleted"></see> event.</summary>
448 <param name="e">A <see cref="T:System.Net.UploadValuesCompletedEventArgs"></see> object containing event data.</param>
450 <member name="M:System.Net.WebClient.OnWriteStreamClosed(System.Net.WriteStreamClosedEventArgs)">
451 <summary>Raises the <see cref="E:System.Net.WebClient.WriteStreamClosed"></see> event.</summary>
452 <param name="e">A <see cref="T:System.Net.WriteStreamClosedEventArgs"></see> object containing event data.</param>
454 <member name="M:System.Net.WebClient.OpenRead(System.String)">
455 <summary>Opens a readable stream for the data downloaded from a resource with the URI specified as a <see cref="T:System.String"></see>.</summary>
456 <param name="address">The URI specified as a <see cref="T:System.String"></see> from which to download data.</param>
457 <returns>A <see cref="System.IO.Stream"></see> used to read data from a resource.</returns>
458 <exception cref="T:System.ArgumentNullException">The <paramref name="address">address</paramref> parameter is null.</exception>
459 <exception cref="T:System.Net.WebException">The URI formed by combining <see cref="System.Net.WebClient.BaseAddress"></see>, <paramref name="address">address</paramref> is invalid.
461 An error occurred while downloading data.</exception>
463 <member name="M:System.Net.WebClient.OpenRead(System.Uri)">
464 <summary>Opens a readable stream for the data downloaded from a resource with the URI specified as a <see cref="T:System.Uri"></see></summary>
465 <param name="address">The URI specified as a <see cref="T:System.Uri"></see> from which to download data.</param>
466 <returns>A <see cref="System.IO.Stream"></see> used to read data from a resource.</returns>
467 <exception cref="T:System.ArgumentNullException">The <paramref name="address">address</paramref> parameter is null.</exception>
468 <exception cref="T:System.Net.WebException">The URI formed by combining <see cref="System.Net.WebClient.BaseAddress"></see>, <paramref name="address">address</paramref> is invalid.
470 An error occurred while downloading data.</exception>
472 <member name="M:System.Net.WebClient.OpenReadAsync(System.Uri)">
473 <summary>Opens a readable stream containing the specified resource. This method does not block the calling thread.</summary>
474 <param name="address">The URI of the resource to retrieve.</param>
475 <exception cref="T:System.ArgumentNullException">The <paramref name="address">address</paramref> parameter is null.</exception>
476 <exception cref="T:System.Net.WebException">The URI formed by combining <see cref="System.Net.WebClient.BaseAddress"></see> and address is invalid.
478 An error occurred while downloading the resource.
480 An error occurred while opening the stream.</exception>
482 <member name="M:System.Net.WebClient.OpenReadAsync(System.Uri,System.Object)">
483 <summary>Opens a readable stream containing the specified resource. This method does not block the calling thread.</summary>
484 <param name="address">The URI of the resource to retrieve.</param>
485 <param name="userToken">A user-defined object that is passed to the method invoked when the asynchronous operation completes.</param>
486 <exception cref="T:System.ArgumentNullException">The <paramref name="address">address</paramref> parameter is null.</exception>
487 <exception cref="T:System.Net.WebException">The URI formed by combining <see cref="System.Net.WebClient.BaseAddress"></see> and address is invalid.
489 An error occurred while downloading the resource.
491 An error occurred while opening the stream.</exception>
493 <member name="E:System.Net.WebClient.OpenReadCompleted">
494 <summary>Occurs when an asynchronous operation to open a stream containing a resource completes.</summary>
496 <member name="M:System.Net.WebClient.OpenReadTaskAsync(System.String)">
497 <summary>Opens a readable stream containing the specified resource as an asynchronous operation using a task object.</summary>
498 <param name="address">The URI of the resource to retrieve.</param>
499 <returns>Returns <see cref="System.Threading.Tasks.Task`1"></see>.
500 The task object representing the asynchronous operation. The <see cref="System.Threading.Tasks.Task`1.Result"></see> property on the task object returns a <see cref="System.IO.Stream"></see> used to read data from a resource.</returns>
501 <exception cref="T:System.ArgumentNullException">The <paramref name="address">address</paramref> parameter is null.</exception>
502 <exception cref="T:System.Net.WebException">The URI formed by combining <see cref="System.Net.WebClient.BaseAddress"></see> and address is invalid.
504 An error occurred while downloading the resource.
506 An error occurred while opening the stream.</exception>
508 <member name="M:System.Net.WebClient.OpenReadTaskAsync(System.Uri)">
509 <summary>Opens a readable stream containing the specified resource as an asynchronous operation using a task object.</summary>
510 <param name="address">The URI of the resource to retrieve.</param>
511 <returns>Returns <see cref="System.Threading.Tasks.Task`1"></see>.
512 The task object representing the asynchronous operation. The <see cref="System.Threading.Tasks.Task`1.Result"></see> property on the task object returns a <see cref="System.IO.Stream"></see> used to read data from a resource.</returns>
513 <exception cref="T:System.ArgumentNullException">The <paramref name="address">address</paramref> parameter is null.</exception>
514 <exception cref="T:System.Net.WebException">The URI formed by combining <see cref="System.Net.WebClient.BaseAddress"></see> and address is invalid.
516 An error occurred while downloading the resource.
518 An error occurred while opening the stream.</exception>
520 <member name="M:System.Net.WebClient.OpenWrite(System.String)">
521 <summary>Opens a stream for writing data to the specified resource.</summary>
522 <param name="address">The URI of the resource to receive the data.</param>
523 <returns>A <see cref="System.IO.Stream"></see> used to write data to the resource.</returns>
524 <exception cref="T:System.ArgumentNullException">The <paramref name="address">address</paramref> parameter is null.</exception>
525 <exception cref="T:System.Net.WebException">The URI formed by combining <see cref="System.Net.WebClient.BaseAddress"></see>, and <paramref name="address">address</paramref> is invalid.
527 An error occurred while opening the stream.</exception>
529 <member name="M:System.Net.WebClient.OpenWrite(System.Uri)">
530 <summary>Opens a stream for writing data to the specified resource.</summary>
531 <param name="address">The URI of the resource to receive the data.</param>
532 <returns>A <see cref="System.IO.Stream"></see> used to write data to the resource.</returns>
533 <exception cref="T:System.ArgumentNullException">The <paramref name="address">address</paramref> parameter is null.</exception>
534 <exception cref="T:System.Net.WebException">The URI formed by combining <see cref="System.Net.WebClient.BaseAddress"></see>, and <paramref name="address">address</paramref> is invalid.
536 An error occurred while opening the stream.</exception>
538 <member name="M:System.Net.WebClient.OpenWrite(System.String,System.String)">
539 <summary>Opens a stream for writing data to the specified resource, using the specified method.</summary>
540 <param name="address">The URI of the resource to receive the data.</param>
541 <param name="method">The method used to send the data to the resource. If null, the default is POST for http and STOR for ftp.</param>
542 <returns>A <see cref="System.IO.Stream"></see> used to write data to the resource.</returns>
543 <exception cref="T:System.ArgumentNullException">The <paramref name="address">address</paramref> parameter is null.</exception>
544 <exception cref="T:System.Net.WebException">The URI formed by combining <see cref="System.Net.WebClient.BaseAddress"></see>, and <paramref name="address">address</paramref> is invalid.
546 An error occurred while opening the stream.</exception>
548 <member name="M:System.Net.WebClient.OpenWrite(System.Uri,System.String)">
549 <summary>Opens a stream for writing data to the specified resource, by using the specified method.</summary>
550 <param name="address">The URI of the resource to receive the data.</param>
551 <param name="method">The method used to send the data to the resource. If null, the default is POST for http and STOR for ftp.</param>
552 <returns>A <see cref="System.IO.Stream"></see> used to write data to the resource.</returns>
553 <exception cref="T:System.ArgumentNullException">The <paramref name="address">address</paramref> parameter is null.</exception>
554 <exception cref="T:System.Net.WebException">The URI formed by combining <see cref="System.Net.WebClient.BaseAddress"></see>, and <paramref name="address">address</paramref> is invalid.
556 An error occurred while opening the stream.</exception>
558 <member name="M:System.Net.WebClient.OpenWriteAsync(System.Uri,System.String,System.Object)">
559 <summary>Opens a stream for writing data to the specified resource, using the specified method. This method does not block the calling thread.</summary>
560 <param name="address">The URI of the resource to receive the data.</param>
561 <param name="method">The method used to send the data to the resource. If null, the default is POST for http and STOR for ftp.</param>
562 <param name="userToken">A user-defined object that is passed to the method invoked when the asynchronous operation completes</param>
563 <exception cref="T:System.ArgumentNullException">The <paramref name="address">address</paramref> parameter is null.</exception>
564 <exception cref="T:System.Net.WebException">The URI formed by combining <see cref="System.Net.WebClient.BaseAddress"></see> and <paramref name="address">address</paramref> is invalid.
566 An error occurred while opening the stream.</exception>
568 <member name="M:System.Net.WebClient.OpenWriteAsync(System.Uri,System.String)">
569 <summary>Opens a stream for writing data to the specified resource. This method does not block the calling thread.</summary>
570 <param name="address">The URI of the resource to receive the data.</param>
571 <param name="method">The method used to send the data to the resource. If null, the default is POST for http and STOR for ftp.</param>
572 <exception cref="T:System.ArgumentNullException">The <paramref name="address">address</paramref> parameter is null.</exception>
574 <member name="M:System.Net.WebClient.OpenWriteAsync(System.Uri)">
575 <summary>Opens a stream for writing data to the specified resource. This method does not block the calling thread.</summary>
576 <param name="address">The URI of the resource to receive the data.</param>
577 <exception cref="T:System.ArgumentNullException">The <paramref name="address">address</paramref> parameter is null.</exception>
579 <member name="E:System.Net.WebClient.OpenWriteCompleted">
580 <summary>Occurs when an asynchronous operation to open a stream to write data to a resource completes.</summary>
582 <member name="M:System.Net.WebClient.OpenWriteTaskAsync(System.String)">
583 <summary>Opens a stream for writing data to the specified resource as an asynchronous operation using a task object.</summary>
584 <param name="address">The URI of the resource to receive the data.</param>
585 <returns>Returns <see cref="System.Threading.Tasks.Task`1"></see>.
586 The task object representing the asynchronous operation. The <see cref="System.Threading.Tasks.Task`1.Result"></see> property on the task object returns a <see cref="System.IO.Stream"></see> used to write data to the resource.</returns>
587 <exception cref="T:System.ArgumentNullException">The <paramref name="address">address</paramref> parameter is null.</exception>
588 <exception cref="T:System.Net.WebException">The URI formed by combining <see cref="System.Net.WebClient.BaseAddress"></see> and <paramref name="address">address</paramref> is invalid.
590 An error occurred while opening the stream.</exception>
592 <member name="M:System.Net.WebClient.OpenWriteTaskAsync(System.Uri)">
593 <summary>Opens a stream for writing data to the specified resource as an asynchronous operation using a task object.</summary>
594 <param name="address">The URI of the resource to receive the data.</param>
595 <returns>Returns <see cref="System.Threading.Tasks.Task`1"></see>.
596 The task object representing the asynchronous operation. The <see cref="System.Threading.Tasks.Task`1.Result"></see> property on the task object returns a <see cref="System.IO.Stream"></see> used to write data to the resource.</returns>
597 <exception cref="T:System.ArgumentNullException">The <paramref name="address">address</paramref> parameter is null.</exception>
598 <exception cref="T:System.Net.WebException">The URI formed by combining <see cref="System.Net.WebClient.BaseAddress"></see> and <paramref name="address">address</paramref> is invalid.
600 An error occurred while opening the stream.</exception>
602 <member name="M:System.Net.WebClient.OpenWriteTaskAsync(System.String,System.String)">
603 <summary>Opens a stream for writing data to the specified resource as an asynchronous operation using a task object.</summary>
604 <param name="address">The URI of the resource to receive the data.</param>
605 <param name="method">The method used to send the data to the resource. If null, the default is POST for http and STOR for ftp.</param>
606 <returns>Returns <see cref="System.Threading.Tasks.Task`1"></see>.
607 The task object representing the asynchronous operation. The <see cref="System.Threading.Tasks.Task`1.Result"></see> property on the task object returns a <see cref="System.IO.Stream"></see> used to write data to the resource.</returns>
608 <exception cref="T:System.ArgumentNullException">The <paramref name="address">address</paramref> parameter is null.</exception>
609 <exception cref="T:System.Net.WebException">The URI formed by combining <see cref="System.Net.WebClient.BaseAddress"></see> and <paramref name="address">address</paramref> is invalid.
611 An error occurred while opening the stream.</exception>
613 <member name="M:System.Net.WebClient.OpenWriteTaskAsync(System.Uri,System.String)">
614 <summary>Opens a stream for writing data to the specified resource as an asynchronous operation using a task object.</summary>
615 <param name="address">The URI of the resource to receive the data.</param>
616 <param name="method">The method used to send the data to the resource. If null, the default is POST for http and STOR for ftp.</param>
617 <returns>Returns <see cref="System.Threading.Tasks.Task`1"></see>.
618 The task object representing the asynchronous operation. The <see cref="System.Threading.Tasks.Task`1.Result"></see> property on the task object returns a <see cref="System.IO.Stream"></see> used to write data to the resource.</returns>
619 <exception cref="T:System.ArgumentNullException">The <paramref name="address">address</paramref> parameter is null.</exception>
620 <exception cref="T:System.Net.WebException">The URI formed by combining <see cref="System.Net.WebClient.BaseAddress"></see> and <paramref name="address">address</paramref> is invalid.
622 An error occurred while opening the stream.</exception>
624 <member name="P:System.Net.WebClient.Proxy">
625 <summary>Gets or sets the proxy used by this <see cref="T:System.Net.WebClient"></see> object.</summary>
626 <returns>An <see cref="System.Net.IWebProxy"></see> instance used to send requests.</returns>
627 <exception cref="T:System.ArgumentNullException"><see cref="System.Net.WebClient.Proxy"></see> is set to null.</exception>
629 <member name="P:System.Net.WebClient.QueryString">
630 <summary>Gets or sets a collection of query name/value pairs associated with the request.</summary>
631 <returns>A <see cref="System.Collections.Specialized.NameValueCollection"></see> that contains query name/value pairs associated with the request. If no pairs are associated with the request, the value is an empty <see cref="System.Collections.Specialized.NameValueCollection"></see>.</returns>
633 <member name="P:System.Net.WebClient.ResponseHeaders">
634 <summary>Gets a collection of header name/value pairs associated with the response.</summary>
635 <returns>A <see cref="System.Net.WebHeaderCollection"></see> containing header name/value pairs associated with the response, or null if no response has been received.</returns>
637 <member name="M:System.Net.WebClient.UploadData(System.String,System.Byte[])">
638 <summary>Uploads a data buffer to a resource identified by a URI.</summary>
639 <param name="address">The URI of the resource to receive the data.</param>
640 <param name="data">The data buffer to send to the resource.</param>
641 <returns>A <see cref="System.Byte"></see> array containing the body of the response from the resource.</returns>
642 <exception cref="T:System.ArgumentNullException">The <paramref name="address">address</paramref> parameter is null.</exception>
643 <exception cref="T:System.Net.WebException">The URI formed by combining <see cref="System.Net.WebClient.BaseAddress"></see>, and <paramref name="address">address</paramref> is invalid.
645 <paramref name="data">data</paramref> is null.
647 An error occurred while sending the data.
649 There was no response from the server hosting the resource.</exception>
651 <member name="M:System.Net.WebClient.UploadData(System.Uri,System.Byte[])">
652 <summary>Uploads a data buffer to a resource identified by a URI.</summary>
653 <param name="address">The URI of the resource to receive the data.</param>
654 <param name="data">The data buffer to send to the resource.</param>
655 <returns>A <see cref="System.Byte"></see> array containing the body of the response from the resource.</returns>
656 <exception cref="T:System.ArgumentNullException">The <paramref name="address">address</paramref> parameter is null.</exception>
657 <exception cref="T:System.Net.WebException">The URI formed by combining <see cref="System.Net.WebClient.BaseAddress"></see>, and <paramref name="address">address</paramref> is invalid.
659 <paramref name="data">data</paramref> is null.
661 An error occurred while sending the data.
663 There was no response from the server hosting the resource.</exception>
665 <member name="M:System.Net.WebClient.UploadData(System.String,System.String,System.Byte[])">
666 <summary>Uploads a data buffer to the specified resource, using the specified method.</summary>
667 <param name="address">The URI of the resource to receive the data.</param>
668 <param name="method">The HTTP method used to send the data to the resource. If null, the default is POST for http and STOR for ftp.</param>
669 <param name="data">The data buffer to send to the resource.</param>
670 <returns>A <see cref="System.Byte"></see> array containing the body of the response from the resource.</returns>
671 <exception cref="T:System.ArgumentNullException">The <paramref name="address">address</paramref> parameter is null.</exception>
672 <exception cref="T:System.Net.WebException">The URI formed by combining <see cref="System.Net.WebClient.BaseAddress"></see>, and <paramref name="address">address</paramref> is invalid.
674 <paramref name="data">data</paramref> is null.
676 An error occurred while uploading the data.
678 There was no response from the server hosting the resource.</exception>
680 <member name="M:System.Net.WebClient.UploadData(System.Uri,System.String,System.Byte[])">
681 <summary>Uploads a data buffer to the specified resource, using the specified method.</summary>
682 <param name="address">The URI of the resource to receive the data.</param>
683 <param name="method">The HTTP method used to send the data to the resource. If null, the default is POST for http and STOR for ftp.</param>
684 <param name="data">The data buffer to send to the resource.</param>
685 <returns>A <see cref="System.Byte"></see> array containing the body of the response from the resource.</returns>
686 <exception cref="T:System.ArgumentNullException">The <paramref name="address">address</paramref> parameter is null.</exception>
687 <exception cref="T:System.Net.WebException">The URI formed by combining <see cref="System.Net.WebClient.BaseAddress"></see>, and <paramref name="address">address</paramref> is invalid.
689 <paramref name="data">data</paramref> is null.
691 An error occurred while uploading the data.
693 There was no response from the server hosting the resource.</exception>
695 <member name="M:System.Net.WebClient.UploadDataAsync(System.Uri,System.String,System.Byte[])">
696 <summary>Uploads a data buffer to a resource identified by a URI, using the specified method. This method does not block the calling thread.</summary>
697 <param name="address">The URI of the resource to receive the data.</param>
698 <param name="method">The method used to send the data to the resource. If null, the default is POST for http and STOR for ftp.</param>
699 <param name="data">The data buffer to send to the resource.</param>
700 <exception cref="T:System.ArgumentNullException">The <paramref name="address">address</paramref> parameter is null.</exception>
701 <exception cref="T:System.Net.WebException">The URI formed by combining <see cref="System.Net.WebClient.BaseAddress"></see> and <paramref name="address">address</paramref> is invalid.
703 An error occurred while opening the stream.
705 There was no response from the server hosting the resource.</exception>
707 <member name="M:System.Net.WebClient.UploadDataAsync(System.Uri,System.String,System.Byte[],System.Object)">
708 <summary>Uploads a data buffer to a resource identified by a URI, using the specified method and identifying token.</summary>
709 <param name="address">The URI of the resource to receive the data.</param>
710 <param name="method">The method used to send the data to the resource. If null, the default is POST for http and STOR for ftp.</param>
711 <param name="data">The data buffer to send to the resource.</param>
712 <param name="userToken">A user-defined object that is passed to the method invoked when the asynchronous operation completes.</param>
713 <exception cref="T:System.ArgumentNullException">The <paramref name="address">address</paramref> parameter is null.</exception>
714 <exception cref="T:System.Net.WebException">The URI formed by combining <see cref="System.Net.WebClient.BaseAddress"></see> and <paramref name="address">address</paramref> is invalid.
716 An error occurred while opening the stream.
718 There was no response from the server hosting the resource.</exception>
720 <member name="M:System.Net.WebClient.UploadDataAsync(System.Uri,System.Byte[])">
721 <summary>Uploads a data buffer to a resource identified by a URI, using the POST method. This method does not block the calling thread.</summary>
722 <param name="address">The URI of the resource to receive the data.</param>
723 <param name="data">The data buffer to send to the resource.</param>
724 <exception cref="T:System.ArgumentNullException">The <paramref name="address">address</paramref> parameter is null.</exception>
725 <exception cref="T:System.Net.WebException">The URI formed by combining <see cref="System.Net.WebClient.BaseAddress"></see> and <paramref name="address">address</paramref> is invalid.
727 An error occurred while opening the stream.
729 There was no response from the server hosting the resource.</exception>
731 <member name="E:System.Net.WebClient.UploadDataCompleted">
732 <summary>Occurs when an asynchronous data-upload operation completes.</summary>
734 <member name="M:System.Net.WebClient.UploadDataTaskAsync(System.String,System.Byte[])">
735 <summary>Uploads a data buffer that contains a <see cref="T:System.Byte"></see> array to the URI specified as an asynchronous operation using a task object.</summary>
736 <param name="address">The URI of the resource to receive the data.</param>
737 <param name="data">The data buffer to send to the resource.</param>
738 <returns>Returns <see cref="System.Threading.Tasks.Task`1"></see>.
739 The task object representing the asynchronous operation. The <see cref="System.Threading.Tasks.Task`1.Result"></see> property on the task object returns a <see cref="System.Byte"></see> array containing the body of the response received from the resource when the data buffer was uploaded.</returns>
740 <exception cref="T:System.ArgumentNullException">The <paramref name="address">address</paramref> parameter is null.</exception>
741 <exception cref="T:System.Net.WebException">The URI formed by combining <see cref="System.Net.WebClient.BaseAddress"></see> and <paramref name="address">address</paramref> is invalid.
743 An error occurred while opening the stream.
745 There was no response from the server hosting the resource.</exception>
747 <member name="M:System.Net.WebClient.UploadDataTaskAsync(System.Uri,System.Byte[])">
748 <summary>Uploads a data buffer that contains a <see cref="T:System.Byte"></see> array to the URI specified as an asynchronous operation using a task object.</summary>
749 <param name="address">The URI of the resource to receive the data.</param>
750 <param name="data">The data buffer to send to the resource.</param>
751 <returns>Returns <see cref="System.Threading.Tasks.Task`1"></see>.
752 The task object representing the asynchronous operation. The <see cref="System.Threading.Tasks.Task`1.Result"></see> property on the task object returns a <see cref="System.Byte"></see> array containing the body of the response received from the resource when the data buffer was uploaded.</returns>
753 <exception cref="T:System.ArgumentNullException">The <paramref name="address">address</paramref> parameter is null.</exception>
754 <exception cref="T:System.Net.WebException">The URI formed by combining <see cref="System.Net.WebClient.BaseAddress"></see> and <paramref name="address">address</paramref> is invalid.
756 An error occurred while opening the stream.
758 There was no response from the server hosting the resource.</exception>
760 <member name="M:System.Net.WebClient.UploadDataTaskAsync(System.String,System.String,System.Byte[])">
761 <summary>Uploads a data buffer that contains a <see cref="T:System.Byte"></see> array to the URI specified as an asynchronous operation using a task object.</summary>
762 <param name="address">The URI of the resource to receive the data.</param>
763 <param name="method">The method used to send the data to the resource. If null, the default is POST for http and STOR for ftp.</param>
764 <param name="data">The data buffer to send to the resource.</param>
765 <returns>Returns <see cref="System.Threading.Tasks.Task`1"></see>.
766 The task object representing the asynchronous operation. The <see cref="System.Threading.Tasks.Task`1.Result"></see> property on the task object returns a <see cref="System.Byte"></see> array containing the body of the response received from the resource when the data buffer was uploaded.</returns>
767 <exception cref="T:System.ArgumentNullException">The <paramref name="address">address</paramref> parameter is null.</exception>
768 <exception cref="T:System.Net.WebException">The URI formed by combining <see cref="System.Net.WebClient.BaseAddress"></see> and <paramref name="address">address</paramref> is invalid.
770 An error occurred while opening the stream.
772 There was no response from the server hosting the resource.</exception>
774 <member name="M:System.Net.WebClient.UploadDataTaskAsync(System.Uri,System.String,System.Byte[])">
775 <summary>Uploads a data buffer that contains a <see cref="T:System.Byte"></see> array to the URI specified as an asynchronous operation using a task object.</summary>
776 <param name="address">The URI of the resource to receive the data.</param>
777 <param name="method">The method used to send the data to the resource. If null, the default is POST for http and STOR for ftp.</param>
778 <param name="data">The data buffer to send to the resource.</param>
779 <returns>Returns <see cref="System.Threading.Tasks.Task`1"></see>.
780 The task object representing the asynchronous operation. The <see cref="System.Threading.Tasks.Task`1.Result"></see> property on the task object returns a <see cref="System.Byte"></see> array containing the body of the response received from the resource when the data buffer was uploaded.</returns>
781 <exception cref="T:System.ArgumentNullException">The <paramref name="address">address</paramref> parameter is null.</exception>
782 <exception cref="T:System.Net.WebException">The URI formed by combining <see cref="System.Net.WebClient.BaseAddress"></see> and <paramref name="address">address</paramref> is invalid.
784 An error occurred while opening the stream.
786 There was no response from the server hosting the resource.</exception>
788 <member name="M:System.Net.WebClient.UploadFile(System.String,System.String)">
789 <summary>Uploads the specified local file to a resource with the specified URI.</summary>
790 <param name="address">The URI of the resource to receive the file. For example, ftp://localhost/samplefile.txt.</param>
791 <param name="fileName">The file to send to the resource. For example, &quot;samplefile.txt&quot;.</param>
792 <returns>A <see cref="System.Byte"></see> array containing the body of the response from the resource.</returns>
793 <exception cref="T:System.ArgumentNullException">The <paramref name="address">address</paramref> parameter is null.
795 The <paramref name="fileName">fileName</paramref> parameter is null.</exception>
796 <exception cref="T:System.Net.WebException">The URI formed by combining <see cref="System.Net.WebClient.BaseAddress"></see>, and <paramref name="address">address</paramref> is invalid.
798 <paramref name="fileName">fileName</paramref> is null, is <see cref="System.String.Empty"></see>, contains invalid characters, or does not exist.
800 An error occurred while uploading the file.
802 There was no response from the server hosting the resource.
804 The Content-type header begins with multipart.</exception>
806 <member name="M:System.Net.WebClient.UploadFile(System.Uri,System.String)">
807 <summary>Uploads the specified local file to a resource with the specified URI.</summary>
808 <param name="address">The URI of the resource to receive the file. For example, ftp://localhost/samplefile.txt.</param>
809 <param name="fileName">The file to send to the resource. For example, &quot;samplefile.txt&quot;.</param>
810 <returns>A <see cref="System.Byte"></see> array containing the body of the response from the resource.</returns>
811 <exception cref="T:System.ArgumentNullException">The <paramref name="address">address</paramref> parameter is null.
813 The <paramref name="fileName">fileName</paramref> parameter is null.</exception>
814 <exception cref="T:System.Net.WebException">The URI formed by combining <see cref="System.Net.WebClient.BaseAddress"></see>, and <paramref name="address">address</paramref> is invalid.
816 <paramref name="fileName">fileName</paramref> is null, is <see cref="System.String.Empty"></see>, contains invalid characters, or does not exist.
818 An error occurred while uploading the file.
820 There was no response from the server hosting the resource.
822 The Content-type header begins with multipart.</exception>
824 <member name="M:System.Net.WebClient.UploadFile(System.String,System.String,System.String)">
825 <summary>Uploads the specified local file to the specified resource, using the specified method.</summary>
826 <param name="address">The URI of the resource to receive the file.</param>
827 <param name="method">The method used to send the file to the resource. If null, the default is POST for http and STOR for ftp.</param>
828 <param name="fileName">The file to send to the resource.</param>
829 <returns>A <see cref="System.Byte"></see> array containing the body of the response from the resource.</returns>
830 <exception cref="T:System.ArgumentNullException">The <paramref name="address">address</paramref> parameter is null.
832 The <paramref name="fileName">fileName</paramref> parameter is null.</exception>
833 <exception cref="T:System.Net.WebException">The URI formed by combining <see cref="System.Net.WebClient.BaseAddress"></see>, and <paramref name="address">address</paramref> is invalid.
835 <paramref name="fileName">fileName</paramref> is null, is <see cref="System.String.Empty"></see>, contains invalid characters, or does not exist.
837 An error occurred while uploading the file.
839 There was no response from the server hosting the resource.
841 The Content-type header begins with multipart.</exception>
843 <member name="M:System.Net.WebClient.UploadFile(System.Uri,System.String,System.String)">
844 <summary>Uploads the specified local file to the specified resource, using the specified method.</summary>
845 <param name="address">The URI of the resource to receive the file.</param>
846 <param name="method">The method used to send the file to the resource. If null, the default is POST for http and STOR for ftp.</param>
847 <param name="fileName">The file to send to the resource.</param>
848 <returns>A <see cref="System.Byte"></see> array containing the body of the response from the resource.</returns>
849 <exception cref="T:System.ArgumentNullException">The <paramref name="address">address</paramref> parameter is null.
851 The <paramref name="fileName">fileName</paramref> parameter is null.</exception>
852 <exception cref="T:System.Net.WebException">The URI formed by combining <see cref="System.Net.WebClient.BaseAddress"></see>, and <paramref name="address">address</paramref> is invalid.
854 <paramref name="fileName">fileName</paramref> is null, is <see cref="System.String.Empty"></see>, contains invalid characters, or does not exist.
856 An error occurred while uploading the file.
858 There was no response from the server hosting the resource.
860 The Content-type header begins with multipart.</exception>
862 <member name="M:System.Net.WebClient.UploadFileAsync(System.Uri,System.String)">
863 <summary>Uploads the specified local file to the specified resource, using the POST method. This method does not block the calling thread.</summary>
864 <param name="address">The URI of the resource to receive the file. For HTTP resources, this URI must identify a resource that can accept a request sent with the POST method, such as a script or ASP page.</param>
865 <param name="fileName">The file to send to the resource.</param>
866 <exception cref="T:System.ArgumentNullException">The <paramref name="address">address</paramref> parameter is null.
868 The <paramref name="fileName">fileName</paramref> parameter is null.</exception>
869 <exception cref="T:System.Net.WebException">The URI formed by combining <see cref="System.Net.WebClient.BaseAddress"></see> and <paramref name="address">address</paramref> is invalid.
871 <paramref name="fileName">fileName</paramref> is null, is <see cref="System.String.Empty"></see>, contains invalid character, or the specified path to the file does not exist.
873 An error occurred while opening the stream.
875 There was no response from the server hosting the resource.
877 The Content-type header begins with multipart.</exception>
879 <member name="M:System.Net.WebClient.UploadFileAsync(System.Uri,System.String,System.String)">
880 <summary>Uploads the specified local file to the specified resource, using the POST method. This method does not block the calling thread.</summary>
881 <param name="address">The URI of the resource to receive the file. For HTTP resources, this URI must identify a resource that can accept a request sent with the POST method, such as a script or ASP page.</param>
882 <param name="method">The method used to send the data to the resource. If null, the default is POST for http and STOR for ftp.</param>
883 <param name="fileName">The file to send to the resource.</param>
884 <exception cref="T:System.ArgumentNullException">The <paramref name="address">address</paramref> parameter is null.
886 The <paramref name="fileName">fileName</paramref> parameter is null.</exception>
887 <exception cref="T:System.Net.WebException">The URI formed by combining <see cref="System.Net.WebClient.BaseAddress"></see> and <paramref name="address">address</paramref> is invalid.
889 <paramref name="fileName">fileName</paramref> is null, is <see cref="System.String.Empty"></see>, contains invalid character, or the specified path to the file does not exist.
891 An error occurred while opening the stream.
893 There was no response from the server hosting the resource.
895 The Content-type header begins with multipart.</exception>
897 <member name="M:System.Net.WebClient.UploadFileAsync(System.Uri,System.String,System.String,System.Object)">
898 <summary>Uploads the specified local file to the specified resource, using the POST method. This method does not block the calling thread.</summary>
899 <param name="address">The URI of the resource to receive the file. For HTTP resources, this URI must identify a resource that can accept a request sent with the POST method, such as a script or ASP page.</param>
900 <param name="method">The method used to send the data to the resource. If null, the default is POST for http and STOR for ftp.</param>
901 <param name="fileName">The file to send to the resource.</param>
902 <param name="userToken">A user-defined object that is passed to the method invoked when the asynchronous operation completes.</param>
903 <exception cref="T:System.ArgumentNullException">The <paramref name="address">address</paramref> parameter is null.
905 The <paramref name="fileName">fileName</paramref> parameter is null.</exception>
906 <exception cref="T:System.Net.WebException">The URI formed by combining <see cref="System.Net.WebClient.BaseAddress"></see> and <paramref name="address">address</paramref> is invalid.
908 <paramref name="fileName">fileName</paramref> is null, is <see cref="System.String.Empty"></see>, contains invalid character, or the specified path to the file does not exist.
910 An error occurred while opening the stream.
912 There was no response from the server hosting the resource.
914 The Content-type header begins with multipart.</exception>
916 <member name="E:System.Net.WebClient.UploadFileCompleted">
917 <summary>Occurs when an asynchronous file-upload operation completes.</summary>
919 <member name="M:System.Net.WebClient.UploadFileTaskAsync(System.Uri,System.String,System.String)">
920 <summary>Uploads the specified local file to a resource as an asynchronous operation using a task object.</summary>
921 <param name="address">The URI of the resource to receive the file. For HTTP resources, this URI must identify a resource that can accept a request sent with the POST method, such as a script or ASP page.</param>
922 <param name="method">The method used to send the data to the resource. If null, the default is POST for http and STOR for ftp.</param>
923 <param name="fileName">The local file to send to the resource.</param>
924 <returns>Returns <see cref="System.Threading.Tasks.Task`1"></see>.
925 The task object representing the asynchronous operation. The <see cref="System.Threading.Tasks.Task`1.Result"></see> property on the task object returns a <see cref="System.Byte"></see> array containing the body of the response received from the resource when the file was uploaded.</returns>
926 <exception cref="T:System.ArgumentNullException">The <paramref name="address">address</paramref> parameter is null.
928 The <paramref name="fileName">fileName</paramref> parameter is null.</exception>
929 <exception cref="T:System.Net.WebException">The URI formed by combining <see cref="System.Net.WebClient.BaseAddress"></see> and <paramref name="address">address</paramref> is invalid.
931 <paramref name="fileName">fileName</paramref> is null, is <see cref="System.String.Empty"></see>, contains invalid character, or the specified path to the file does not exist.
933 An error occurred while opening the stream.
935 There was no response from the server hosting the resource.
937 The Content-type header begins with multipart.</exception>
939 <member name="M:System.Net.WebClient.UploadFileTaskAsync(System.String,System.String,System.String)">
940 <summary>Uploads the specified local file to a resource as an asynchronous operation using a task object.</summary>
941 <param name="address">The URI of the resource to receive the file. For HTTP resources, this URI must identify a resource that can accept a request sent with the POST method, such as a script or ASP page.</param>
942 <param name="method">The method used to send the data to the resource. If null, the default is POST for http and STOR for ftp.</param>
943 <param name="fileName">The local file to send to the resource.</param>
944 <returns>Returns <see cref="System.Threading.Tasks.Task`1"></see>.
945 The task object representing the asynchronous operation. The <see cref="System.Threading.Tasks.Task`1.Result"></see> property on the task object returns a <see cref="System.Byte"></see> array containing the body of the response received from the resource when the file was uploaded.</returns>
946 <exception cref="T:System.ArgumentNullException">The <paramref name="address">address</paramref> parameter is null.
948 The <paramref name="fileName">fileName</paramref> parameter is null.</exception>
949 <exception cref="T:System.Net.WebException">The URI formed by combining <see cref="System.Net.WebClient.BaseAddress"></see> and <paramref name="address">address</paramref> is invalid.
951 <paramref name="fileName">fileName</paramref> is null, is <see cref="System.String.Empty"></see>, contains invalid character, or the specified path to the file does not exist.
953 An error occurred while opening the stream.
955 There was no response from the server hosting the resource.
957 The Content-type header begins with multipart.</exception>
959 <member name="M:System.Net.WebClient.UploadFileTaskAsync(System.String,System.String)">
960 <summary>Uploads the specified local file to a resource as an asynchronous operation using a task object.</summary>
961 <param name="address">The URI of the resource to receive the file. For HTTP resources, this URI must identify a resource that can accept a request sent with the POST method, such as a script or ASP page.</param>
962 <param name="fileName">The local file to send to the resource.</param>
963 <returns>Returns <see cref="System.Threading.Tasks.Task`1"></see>.
964 The task object representing the asynchronous operation. The <see cref="System.Threading.Tasks.Task`1.Result"></see> property on the task object returns a <see cref="System.Byte"></see> array containing the body of the response received from the resource when the file was uploaded.</returns>
965 <exception cref="T:System.ArgumentNullException">The <paramref name="address">address</paramref> parameter is null.
967 The <paramref name="fileName">fileName</paramref> parameter is null.</exception>
968 <exception cref="T:System.Net.WebException">The URI formed by combining <see cref="System.Net.WebClient.BaseAddress"></see> and <paramref name="address">address</paramref> is invalid.
970 <paramref name="fileName">fileName</paramref> is null, is <see cref="System.String.Empty"></see>, contains invalid character, or the specified path to the file does not exist.
972 An error occurred while opening the stream.
974 There was no response from the server hosting the resource.
976 The Content-type header begins with multipart.</exception>
978 <member name="M:System.Net.WebClient.UploadFileTaskAsync(System.Uri,System.String)">
979 <summary>Uploads the specified local file to a resource as an asynchronous operation using a task object.</summary>
980 <param name="address">The URI of the resource to receive the file. For HTTP resources, this URI must identify a resource that can accept a request sent with the POST method, such as a script or ASP page.</param>
981 <param name="fileName">The local file to send to the resource.</param>
982 <returns>Returns <see cref="System.Threading.Tasks.Task`1"></see>.
983 The task object representing the asynchronous operation. The <see cref="System.Threading.Tasks.Task`1.Result"></see> property on the task object returns a <see cref="System.Byte"></see> array containing the body of the response received from the resource when the file was uploaded.</returns>
984 <exception cref="T:System.ArgumentNullException">The <paramref name="address">address</paramref> parameter is null.
986 The <paramref name="fileName">fileName</paramref> parameter is null.</exception>
987 <exception cref="T:System.Net.WebException">The URI formed by combining <see cref="System.Net.WebClient.BaseAddress"></see> and <paramref name="address">address</paramref> is invalid.
989 <paramref name="fileName">fileName</paramref> is null, is <see cref="System.String.Empty"></see>, contains invalid character, or the specified path to the file does not exist.
991 An error occurred while opening the stream.
993 There was no response from the server hosting the resource.
995 The Content-type header begins with multipart.</exception>
997 <member name="E:System.Net.WebClient.UploadProgressChanged">
998 <summary>Occurs when an asynchronous upload operation successfully transfers some or all of the data.</summary>
1000 <member name="M:System.Net.WebClient.UploadString(System.String,System.String)">
1001 <summary>Uploads the specified string to the specified resource, using the POST method.</summary>
1002 <param name="address">The URI of the resource to receive the string. For Http resources, this URI must identify a resource that can accept a request sent with the POST method, such as a script or ASP page.</param>
1003 <param name="data">The string to be uploaded.</param>
1004 <returns>A <see cref="System.String"></see> containing the response sent by the server.</returns>
1005 <exception cref="T:System.ArgumentNullException">The <paramref name="address">address</paramref> parameter is null.
1007 The <paramref name="data">data</paramref> parameter is null.</exception>
1008 <exception cref="T:System.Net.WebException">The URI formed by combining <see cref="System.Net.WebClient.BaseAddress"></see> and <paramref name="address">address</paramref> is invalid.
1010 There was no response from the server hosting the resource.</exception>
1012 <member name="M:System.Net.WebClient.UploadString(System.Uri,System.String)">
1013 <summary>Uploads the specified string to the specified resource, using the POST method.</summary>
1014 <param name="address">The URI of the resource to receive the string. For Http resources, this URI must identify a resource that can accept a request sent with the POST method, such as a script or ASP page.</param>
1015 <param name="data">The string to be uploaded.</param>
1016 <returns>A <see cref="System.String"></see> containing the response sent by the server.</returns>
1017 <exception cref="T:System.ArgumentNullException">The <paramref name="address">address</paramref> parameter is null.
1019 The <paramref name="data">data</paramref> parameter is null.</exception>
1020 <exception cref="T:System.Net.WebException">The URI formed by combining <see cref="System.Net.WebClient.BaseAddress"></see> and <paramref name="address">address</paramref> is invalid.
1022 There was no response from the server hosting the resource.</exception>
1024 <member name="M:System.Net.WebClient.UploadString(System.String,System.String,System.String)">
1025 <summary>Uploads the specified string to the specified resource, using the specified method.</summary>
1026 <param name="address">The URI of the resource to receive the string. This URI must identify a resource that can accept a request sent with the method method.</param>
1027 <param name="method">The HTTP method used to send the string to the resource. If null, the default is POST for http and STOR for ftp.</param>
1028 <param name="data">The string to be uploaded.</param>
1029 <returns>A <see cref="System.String"></see> containing the response sent by the server.</returns>
1030 <exception cref="T:System.ArgumentNullException">The <paramref name="address">address</paramref> parameter is null.
1032 The <paramref name="data">data</paramref> parameter is null.</exception>
1033 <exception cref="T:System.Net.WebException">The URI formed by combining <see cref="System.Net.WebClient.BaseAddress"></see> and <paramref name="address">address</paramref> is invalid.
1035 There was no response from the server hosting the resource.
1037 <paramref name="method">method</paramref> cannot be used to send content.</exception>
1039 <member name="M:System.Net.WebClient.UploadString(System.Uri,System.String,System.String)">
1040 <summary>Uploads the specified string to the specified resource, using the specified method.</summary>
1041 <param name="address">The URI of the resource to receive the string. This URI must identify a resource that can accept a request sent with the method method.</param>
1042 <param name="method">The HTTP method used to send the string to the resource. If null, the default is POST for http and STOR for ftp.</param>
1043 <param name="data">The string to be uploaded.</param>
1044 <returns>A <see cref="System.String"></see> containing the response sent by the server.</returns>
1045 <exception cref="T:System.ArgumentNullException">The <paramref name="address">address</paramref> parameter is null.
1047 The <paramref name="data">data</paramref> parameter is null.</exception>
1048 <exception cref="T:System.Net.WebException">The URI formed by combining <see cref="System.Net.WebClient.BaseAddress"></see> and <paramref name="address">address</paramref> is invalid.
1050 There was no response from the server hosting the resource.
1052 <paramref name="method">method</paramref> cannot be used to send content.</exception>
1054 <member name="M:System.Net.WebClient.UploadStringAsync(System.Uri,System.String)">
1055 <summary>Uploads the specified string to the specified resource. This method does not block the calling thread.</summary>
1056 <param name="address">The URI of the resource to receive the string. For HTTP resources, this URI must identify a resource that can accept a request sent with the POST method, such as a script or ASP page.</param>
1057 <param name="data">The string to be uploaded.</param>
1058 <exception cref="T:System.ArgumentNullException">The <paramref name="address">address</paramref> parameter is null.
1060 The <paramref name="data">data</paramref> parameter is null.</exception>
1061 <exception cref="T:System.Net.WebException">The URI formed by combining <see cref="System.Net.WebClient.BaseAddress"></see> and <paramref name="address">address</paramref> is invalid.
1063 There was no response from the server hosting the resource.</exception>
1065 <member name="M:System.Net.WebClient.UploadStringAsync(System.Uri,System.String,System.String)">
1066 <summary>Uploads the specified string to the specified resource. This method does not block the calling thread.</summary>
1067 <param name="address">The URI of the resource to receive the string. For HTTP resources, this URI must identify a resource that can accept a request sent with the POST method, such as a script or ASP page.</param>
1068 <param name="method">The HTTP method used to send the file to the resource. If null, the default is POST for http and STOR for ftp.</param>
1069 <param name="data">The string to be uploaded.</param>
1070 <exception cref="T:System.ArgumentNullException">The <paramref name="address">address</paramref> parameter is null.
1072 The <paramref name="data">data</paramref> parameter is null.</exception>
1073 <exception cref="T:System.Net.WebException">The URI formed by combining <see cref="System.Net.WebClient.BaseAddress"></see> and <paramref name="address">address</paramref> is invalid.
1075 <paramref name="method">method</paramref> cannot be used to send content.
1077 There was no response from the server hosting the resource.</exception>
1079 <member name="M:System.Net.WebClient.UploadStringAsync(System.Uri,System.String,System.String,System.Object)">
1080 <summary>Uploads the specified string to the specified resource. This method does not block the calling thread.</summary>
1081 <param name="address">The URI of the resource to receive the string. For HTTP resources, this URI must identify a resource that can accept a request sent with the POST method, such as a script or ASP page.</param>
1082 <param name="method">The HTTP method used to send the file to the resource. If null, the default is POST for http and STOR for ftp.</param>
1083 <param name="data">The string to be uploaded.</param>
1084 <param name="userToken">A user-defined object that is passed to the method invoked when the asynchronous operation completes.</param>
1085 <exception cref="T:System.ArgumentNullException">The <paramref name="address">address</paramref> parameter is null.
1087 The <paramref name="data">data</paramref> parameter is null.</exception>
1088 <exception cref="T:System.Net.WebException">The URI formed by combining <see cref="System.Net.WebClient.BaseAddress"></see> and <paramref name="address">address</paramref> is invalid.
1090 <paramref name="method">method</paramref> cannot be used to send content.
1092 There was no response from the server hosting the resource.</exception>
1094 <member name="E:System.Net.WebClient.UploadStringCompleted">
1095 <summary>Occurs when an asynchronous string-upload operation completes.</summary>
1097 <member name="M:System.Net.WebClient.UploadStringTaskAsync(System.Uri,System.String,System.String)">
1098 <summary>Uploads the specified string to the specified resource as an asynchronous operation using a task object.</summary>
1099 <param name="address">The URI of the resource to receive the string. For HTTP resources, this URI must identify a resource that can accept a request sent with the POST method, such as a script or ASP page.</param>
1100 <param name="method">The HTTP method used to send the file to the resource. If null, the default is POST for http and STOR for ftp.</param>
1101 <param name="data">The string to be uploaded.</param>
1102 <returns>Returns <see cref="System.Threading.Tasks.Task`1"></see>.
1103 The task object representing the asynchronous operation. The <see cref="System.Threading.Tasks.Task`1.Result"></see> property on the task object returns a <see cref="System.String"></see> containing the response sent by the server.</returns>
1104 <exception cref="T:System.ArgumentNullException">The <paramref name="address">address</paramref> parameter is null.
1106 The <paramref name="data">data</paramref> parameter is null.</exception>
1107 <exception cref="T:System.Net.WebException">The URI formed by combining <see cref="System.Net.WebClient.BaseAddress"></see> and <paramref name="address">address</paramref> is invalid.
1109 <paramref name="method">method</paramref> cannot be used to send content.
1111 There was no response from the server hosting the resource.</exception>
1113 <member name="M:System.Net.WebClient.UploadStringTaskAsync(System.String,System.String,System.String)">
1114 <summary>Uploads the specified string to the specified resource as an asynchronous operation using a task object.</summary>
1115 <param name="address">The URI of the resource to receive the string. For HTTP resources, this URI must identify a resource that can accept a request sent with the POST method, such as a script or ASP page.</param>
1116 <param name="method">The HTTP method used to send the file to the resource. If null, the default is POST for http and STOR for ftp.</param>
1117 <param name="data">The string to be uploaded.</param>
1118 <returns>Returns <see cref="System.Threading.Tasks.Task`1"></see>.
1119 The task object representing the asynchronous operation. The <see cref="System.Threading.Tasks.Task`1.Result"></see> property on the task object returns a <see cref="System.String"></see> containing the response sent by the server.</returns>
1120 <exception cref="T:System.ArgumentNullException">The <paramref name="address">address</paramref> parameter is null.
1122 The <paramref name="data">data</paramref> parameter is null.</exception>
1123 <exception cref="T:System.Net.WebException">The URI formed by combining <see cref="System.Net.WebClient.BaseAddress"></see> and <paramref name="address">address</paramref> is invalid.
1125 <paramref name="method">method</paramref> cannot be used to send content.
1127 There was no response from the server hosting the resource.</exception>
1129 <member name="M:System.Net.WebClient.UploadStringTaskAsync(System.String,System.String)">
1130 <summary>Uploads the specified string to the specified resource as an asynchronous operation using a task object.</summary>
1131 <param name="address">The URI of the resource to receive the string. For HTTP resources, this URI must identify a resource that can accept a request sent with the POST method, such as a script or ASP page.</param>
1132 <param name="data">The string to be uploaded.</param>
1133 <returns>Returns <see cref="System.Threading.Tasks.Task`1"></see>.
1134 The task object representing the asynchronous operation. The <see cref="System.Threading.Tasks.Task`1.Result"></see> property on the task object returns a <see cref="System.String"></see> containing the response sent by the server.</returns>
1135 <exception cref="T:System.ArgumentNullException">The <paramref name="address">address</paramref> parameter is null.
1137 The <paramref name="data">data</paramref> parameter is null.</exception>
1138 <exception cref="T:System.Net.WebException">The URI formed by combining <see cref="System.Net.WebClient.BaseAddress"></see> and <paramref name="address">address</paramref> is invalid.
1140 There was no response from the server hosting the resource.</exception>
1142 <member name="M:System.Net.WebClient.UploadStringTaskAsync(System.Uri,System.String)">
1143 <summary>Uploads the specified string to the specified resource as an asynchronous operation using a task object.</summary>
1144 <param name="address">The URI of the resource to receive the string. For HTTP resources, this URI must identify a resource that can accept a request sent with the POST method, such as a script or ASP page.</param>
1145 <param name="data">The string to be uploaded.</param>
1146 <returns>Returns <see cref="System.Threading.Tasks.Task`1"></see>.
1147 The task object representing the asynchronous operation. The <see cref="System.Threading.Tasks.Task`1.Result"></see> property on the task object returns a <see cref="System.String"></see> containing the response sent by the server.</returns>
1148 <exception cref="T:System.ArgumentNullException">The <paramref name="address">address</paramref> parameter is null.
1150 The <paramref name="data">data</paramref> parameter is null.</exception>
1151 <exception cref="T:System.Net.WebException">The URI formed by combining <see cref="System.Net.WebClient.BaseAddress"></see> and <paramref name="address">address</paramref> is invalid.
1153 There was no response from the server hosting the resource.</exception>
1155 <member name="M:System.Net.WebClient.UploadValues(System.String,System.Collections.Specialized.NameValueCollection)">
1156 <summary>Uploads the specified name/value collection to the resource identified by the specified URI.</summary>
1157 <param name="address">The URI of the resource to receive the collection.</param>
1158 <param name="data">The <see cref="T:System.Collections.Specialized.NameValueCollection"></see> to send to the resource.</param>
1159 <returns>A <see cref="System.Byte"></see> array containing the body of the response from the resource.</returns>
1160 <exception cref="T:System.ArgumentNullException">The <paramref name="address">address</paramref> parameter is null.
1162 The <paramref name="data">data</paramref> parameter is null.</exception>
1163 <exception cref="T:System.Net.WebException">The URI formed by combining <see cref="System.Net.WebClient.BaseAddress"></see>, and <paramref name="address">address</paramref> is invalid.
1165 <paramref name="data">data</paramref> is null.
1167 There was no response from the server hosting the resource.
1169 An error occurred while opening the stream.
1171 The Content-type header is not null or &quot;application/x-www-form-urlencoded&quot;.</exception>
1173 <member name="M:System.Net.WebClient.UploadValues(System.Uri,System.Collections.Specialized.NameValueCollection)">
1174 <summary>Uploads the specified name/value collection to the resource identified by the specified URI.</summary>
1175 <param name="address">The URI of the resource to receive the collection.</param>
1176 <param name="data">The <see cref="T:System.Collections.Specialized.NameValueCollection"></see> to send to the resource.</param>
1177 <returns>A <see cref="System.Byte"></see> array containing the body of the response from the resource.</returns>
1178 <exception cref="T:System.ArgumentNullException">The <paramref name="address">address</paramref> parameter is null.
1180 The <paramref name="data">data</paramref> parameter is null.</exception>
1181 <exception cref="T:System.Net.WebException">The URI formed by combining <see cref="System.Net.WebClient.BaseAddress"></see>, and <paramref name="address">address</paramref> is invalid.
1183 <paramref name="data">data</paramref> is null.
1185 There was no response from the server hosting the resource.
1187 An error occurred while opening the stream.
1189 The Content-type header is not null or &quot;application/x-www-form-urlencoded&quot;.</exception>
1191 <member name="M:System.Net.WebClient.UploadValues(System.String,System.String,System.Collections.Specialized.NameValueCollection)">
1192 <summary>Uploads the specified name/value collection to the resource identified by the specified URI, using the specified method.</summary>
1193 <param name="address">The URI of the resource to receive the collection.</param>
1194 <param name="method">The HTTP method used to send the file to the resource. If null, the default is POST for http and STOR for ftp.</param>
1195 <param name="data">The <see cref="T:System.Collections.Specialized.NameValueCollection"></see> to send to the resource.</param>
1196 <returns>A <see cref="System.Byte"></see> array containing the body of the response from the resource.</returns>
1197 <exception cref="T:System.ArgumentNullException">The <paramref name="address">address</paramref> parameter is null.
1199 The <paramref name="data">data</paramref> parameter is null.</exception>
1200 <exception cref="T:System.Net.WebException">The URI formed by combining <see cref="System.Net.WebClient.BaseAddress"></see>, and <paramref name="address">address</paramref> is invalid.
1202 <paramref name="data">data</paramref> is null.
1204 An error occurred while opening the stream.
1206 There was no response from the server hosting the resource.
1208 The Content-type header value is not null and is not application/x-www-form-urlencoded.</exception>
1210 <member name="M:System.Net.WebClient.UploadValues(System.Uri,System.String,System.Collections.Specialized.NameValueCollection)">
1211 <summary>Uploads the specified name/value collection to the resource identified by the specified URI, using the specified method.</summary>
1212 <param name="address">The URI of the resource to receive the collection.</param>
1213 <param name="method">The HTTP method used to send the file to the resource. If null, the default is POST for http and STOR for ftp.</param>
1214 <param name="data">The <see cref="T:System.Collections.Specialized.NameValueCollection"></see> to send to the resource.</param>
1215 <returns>A <see cref="System.Byte"></see> array containing the body of the response from the resource.</returns>
1216 <exception cref="T:System.ArgumentNullException">The <paramref name="address">address</paramref> parameter is null.
1218 The <paramref name="data">data</paramref> parameter is null.</exception>
1219 <exception cref="T:System.Net.WebException">The URI formed by combining <see cref="System.Net.WebClient.BaseAddress"></see>, and <paramref name="address">address</paramref> is invalid.
1221 <paramref name="data">data</paramref> is null.
1223 An error occurred while opening the stream.
1225 There was no response from the server hosting the resource.
1227 The Content-type header value is not null and is not application/x-www-form-urlencoded.</exception>
1229 <member name="M:System.Net.WebClient.UploadValuesAsync(System.Uri,System.Collections.Specialized.NameValueCollection)">
1230 <summary>Uploads the data in the specified name/value collection to the resource identified by the specified URI. This method does not block the calling thread.</summary>
1231 <param name="address">The URI of the resource to receive the collection. This URI must identify a resource that can accept a request sent with the default method.</param>
1232 <param name="data">The <see cref="T:System.Collections.Specialized.NameValueCollection"></see> to send to the resource.</param>
1233 <exception cref="T:System.ArgumentNullException">The <paramref name="address">address</paramref> parameter is null.
1235 The <paramref name="data">data</paramref> parameter is null.</exception>
1236 <exception cref="T:System.Net.WebException">The URI formed by combining <see cref="System.Net.WebClient.BaseAddress"></see> and <paramref name="address">address</paramref> is invalid.
1238 There was no response from the server hosting the resource.</exception>
1240 <member name="M:System.Net.WebClient.UploadValuesAsync(System.Uri,System.String,System.Collections.Specialized.NameValueCollection)">
1241 <summary>Uploads the data in the specified name/value collection to the resource identified by the specified URI, using the specified method. This method does not block the calling thread.</summary>
1242 <param name="address">The URI of the resource to receive the collection. This URI must identify a resource that can accept a request sent with the method method.</param>
1243 <param name="method">The method used to send the string to the resource. If null, the default is POST for http and STOR for ftp.</param>
1244 <param name="data">The <see cref="T:System.Collections.Specialized.NameValueCollection"></see> to send to the resource.</param>
1245 <exception cref="T:System.ArgumentNullException">The <paramref name="address">address</paramref> parameter is null.
1247 The <paramref name="data">data</paramref> parameter is null.</exception>
1248 <exception cref="T:System.Net.WebException">The URI formed by combining <see cref="System.Net.WebClient.BaseAddress"></see> and <paramref name="address">address</paramref> is invalid.
1250 There was no response from the server hosting the resource.
1252 <paramref name="method">method</paramref> cannot be used to send content.</exception>
1254 <member name="M:System.Net.WebClient.UploadValuesAsync(System.Uri,System.String,System.Collections.Specialized.NameValueCollection,System.Object)">
1255 <summary>Uploads the data in the specified name/value collection to the resource identified by the specified URI, using the specified method. This method does not block the calling thread, and allows the caller to pass an object to the method that is invoked when the operation completes.</summary>
1256 <param name="address">The URI of the resource to receive the collection. This URI must identify a resource that can accept a request sent with the method method.</param>
1257 <param name="method">The HTTP method used to send the string to the resource. If null, the default is POST for http and STOR for ftp.</param>
1258 <param name="data">The <see cref="T:System.Collections.Specialized.NameValueCollection"></see> to send to the resource.</param>
1259 <param name="userToken">A user-defined object that is passed to the method invoked when the asynchronous operation completes.</param>
1260 <exception cref="T:System.ArgumentNullException">The <paramref name="address">address</paramref> parameter is null.
1262 The <paramref name="data">data</paramref> parameter is null.</exception>
1263 <exception cref="T:System.Net.WebException">The URI formed by combining <see cref="System.Net.WebClient.BaseAddress"></see> and <paramref name="address">address</paramref> is invalid.
1265 There was no response from the server hosting the resource.
1267 <paramref name="method">method</paramref> cannot be used to send content.</exception>
1269 <member name="E:System.Net.WebClient.UploadValuesCompleted">
1270 <summary>Occurs when an asynchronous upload of a name/value collection completes.</summary>
1272 <member name="M:System.Net.WebClient.UploadValuesTaskAsync(System.String,System.String,System.Collections.Specialized.NameValueCollection)">
1273 <summary>Uploads the specified name/value collection to the resource identified by the specified URI as an asynchronous operation using a task object.</summary>
1274 <param name="address">The URI of the resource to receive the collection.</param>
1275 <param name="method">The HTTP method used to send the collection to the resource. If null, the default is POST for http and STOR for ftp.</param>
1276 <param name="data">The <see cref="T:System.Collections.Specialized.NameValueCollection"></see> to send to the resource.</param>
1277 <returns>Returns <see cref="System.Threading.Tasks.Task`1"></see>.
1278 The task object representing the asynchronous operation. The <see cref="System.Threading.Tasks.Task`1.Result"></see> property on the task object returns a <see cref="System.Byte"></see> array containing the response sent by the server.</returns>
1279 <exception cref="T:System.ArgumentNullException">The <paramref name="address">address</paramref> parameter is null.
1281 The <paramref name="data">data</paramref> parameter is null.</exception>
1282 <exception cref="T:System.Net.WebException">The URI formed by combining <see cref="System.Net.WebClient.BaseAddress"></see>, and <paramref name="address">address</paramref> is invalid.
1284 <paramref name="method">method</paramref> cannot be used to send content.
1286 There was no response from the server hosting the resource.
1288 An error occurred while opening the stream.
1290 The Content-type header is not null or &quot;application/x-www-form-urlencoded&quot;.</exception>
1292 <member name="M:System.Net.WebClient.UploadValuesTaskAsync(System.String,System.Collections.Specialized.NameValueCollection)">
1293 <summary>Uploads the specified name/value collection to the resource identified by the specified URI as an asynchronous operation using a task object.</summary>
1294 <param name="address">The URI of the resource to receive the collection.</param>
1295 <param name="data">The <see cref="T:System.Collections.Specialized.NameValueCollection"></see> to send to the resource.</param>
1296 <returns>Returns <see cref="System.Threading.Tasks.Task`1"></see>.
1297 The task object representing the asynchronous operation. The <see cref="System.Threading.Tasks.Task`1.Result"></see> property on the task object returns a <see cref="System.Byte"></see> array containing the response sent by the server.</returns>
1298 <exception cref="T:System.ArgumentNullException">The <paramref name="address">address</paramref> parameter is null.
1300 The <paramref name="data">data</paramref> parameter is null.</exception>
1301 <exception cref="T:System.Net.WebException">The URI formed by combining <see cref="System.Net.WebClient.BaseAddress"></see>, and <paramref name="address">address</paramref> is invalid.
1303 There was no response from the server hosting the resource.
1305 An error occurred while opening the stream.
1307 The Content-type header is not null or &quot;application/x-www-form-urlencoded&quot;.</exception>
1309 <member name="M:System.Net.WebClient.UploadValuesTaskAsync(System.Uri,System.Collections.Specialized.NameValueCollection)">
1310 <summary>Uploads the specified name/value collection to the resource identified by the specified URI as an asynchronous operation using a task object.</summary>
1311 <param name="address">The URI of the resource to receive the collection.</param>
1312 <param name="data">The <see cref="T:System.Collections.Specialized.NameValueCollection"></see> to send to the resource.</param>
1313 <returns>Returns <see cref="System.Threading.Tasks.Task`1"></see>.
1314 The task object representing the asynchronous operation. The <see cref="System.Threading.Tasks.Task`1.Result"></see> property on the task object returns a <see cref="System.Byte"></see> array containing the response sent by the server.</returns>
1315 <exception cref="T:System.ArgumentNullException">The <paramref name="address">address</paramref> parameter is null.
1317 The <paramref name="data">data</paramref> parameter is null.</exception>
1318 <exception cref="T:System.Net.WebException">The URI formed by combining <see cref="System.Net.WebClient.BaseAddress"></see>, and <paramref name="address">address</paramref> is invalid.
1320 An error occurred while opening the stream.
1322 There was no response from the server hosting the resource.
1324 The Content-type header value is not null and is not application/x-www-form-urlencoded.</exception>
1326 <member name="M:System.Net.WebClient.UploadValuesTaskAsync(System.Uri,System.String,System.Collections.Specialized.NameValueCollection)">
1327 <summary>Uploads the specified name/value collection to the resource identified by the specified URI as an asynchronous operation using a task object.</summary>
1328 <param name="address">The URI of the resource to receive the collection.</param>
1329 <param name="method">The HTTP method used to send the collection to the resource. If null, the default is POST for http and STOR for ftp.</param>
1330 <param name="data">The <see cref="T:System.Collections.Specialized.NameValueCollection"></see> to send to the resource.</param>
1331 <returns>Returns <see cref="System.Threading.Tasks.Task`1"></see>.
1332 The task object representing the asynchronous operation. The <see cref="System.Threading.Tasks.Task`1.Result"></see> property on the task object returns a <see cref="System.Byte"></see> array containing the response sent by the server.</returns>
1333 <exception cref="T:System.ArgumentNullException">The <paramref name="address">address</paramref> parameter is null.
1335 The <paramref name="data">data</paramref> parameter is null.</exception>
1336 <exception cref="T:System.Net.WebException">The URI formed by combining <see cref="System.Net.WebClient.BaseAddress"></see>, and <paramref name="address">address</paramref> is invalid.
1338 <paramref name="method">method</paramref> cannot be used to send content.
1340 There was no response from the server hosting the resource.
1342 An error occurred while opening the stream.
1344 The Content-type header is not null or &quot;application/x-www-form-urlencoded&quot;.</exception>
1346 <member name="P:System.Net.WebClient.UseDefaultCredentials">
1347 <summary>Gets or sets a <see cref="T:System.Boolean"></see> value that controls whether the <see cref="P:System.Net.CredentialCache.DefaultCredentials"></see> are sent with requests.</summary>
1348 <returns>true if the default credentials are used; otherwise false. The default value is false.</returns>
1350 <member name="E:System.Net.WebClient.WriteStreamClosed">
1351 <summary>Occurs when an asynchronous operation to write data to a resource using a write stream is closed.</summary>
1353 <member name="T:System.Net.WriteStreamClosedEventArgs">
1354 <summary>Provides data for the <see cref="E:System.Net.WebClient.WriteStreamClosed"></see> event.</summary>
1356 <member name="M:System.Net.WriteStreamClosedEventArgs.#ctor">
1357 <summary>Initializes a new instance of the <see cref="T:System.Net.WriteStreamClosedEventArgs"></see> class.</summary>
1359 <member name="P:System.Net.WriteStreamClosedEventArgs.Error">
1360 <summary>Gets the error value when a write stream is closed.</summary>
1361 <returns>Returns <see cref="System.Exception"></see>.</returns>
1363 <member name="T:System.Net.WriteStreamClosedEventHandler">
1364 <summary>Represents the method that will handle the <see cref="E:System.Net.WebClient.WriteStreamClosed"></see> event of a <see cref="T:System.Net.WebClient"></see>.</summary>
1365 <param name="sender"></param>
1366 <param name="e"></param>