Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ StartOperation()

void System.Net.WebClient.StartOperation ( )
inlineprivate

Definition at line 351 of file WebClient.cs.

352 {
354 {
355 EndOperation();
356 throw new NotSupportedException(System.SR.net_webclient_no_concurrent_io_allowed);
357 }
358 _contentLength = -1L;
359 _webResponse = null;
360 _webRequest = null;
361 _method = null;
362 _canceled = false;
363 _progress?.Reset();
364 }
WebRequest _webRequest
Definition WebClient.cs:76
ProgressData _progress
Definition WebClient.cs:88
WebResponse _webResponse
Definition WebClient.cs:74
static string net_webclient_no_concurrent_io_allowed
Definition SR.cs:20
Definition SR.cs:7
static int Increment(ref int location)

References System.Net.WebClient._callNesting, System.Net.WebClient._canceled, System.Net.WebClient._contentLength, System.Net.WebClient._method, System.Net.WebClient._progress, System.Net.WebClient._webRequest, System.Net.WebClient._webResponse, System.Net.WebClient.EndOperation(), System.Threading.Interlocked.Increment(), System.L, System.SR.net_webclient_no_concurrent_io_allowed, and System.Net.WebClient.ProgressData.Reset().

Referenced by System.Net.WebClient.DownloadData(), System.Net.WebClient.DownloadFile(), System.Net.WebClient.DownloadString(), System.Net.WebClient.OpenRead(), System.Net.WebClient.OpenWrite(), System.Net.WebClient.StartAsyncOperation(), System.Net.WebClient.UploadData(), System.Net.WebClient.UploadFile(), System.Net.WebClient.UploadString(), and System.Net.WebClient.UploadValues().