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

◆ EndRead()

override int System.Net.FtpDataStream.EndRead ( IAsyncResult ar)
inlinevirtual

Reimplemented from System.IO.Stream.

Definition at line 256 of file FtpDataStream.cs.

257 {
258 try
259 {
260 object obj = ((LazyAsyncResult)ar).InternalWaitForCompletion();
261 if (obj is Exception source)
262 {
264 }
265 return (int)obj;
266 }
267 finally
268 {
269 CheckError();
270 }
271 }

References System.Net.FtpDataStream.CheckError(), System.obj, System.source, and System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw().