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

◆ ReadCallback()

static void System.Net.Mail.SmtpReplyReaderFactory.ReadLinesAsyncResult.ReadCallback ( IAsyncResult result)
inlinestaticprivate

Definition at line 88 of file SmtpReplyReaderFactory.cs.

89 {
90 if (result.CompletedSynchronously)
91 {
92 return;
93 }
94 Exception ex = null;
96 try
97 {
98 readLinesAsyncResult._read = readLinesAsyncResult._parent._bufferedStream.EndRead(result);
99 if (readLinesAsyncResult.ProcessRead())
100 {
102 }
103 }
104 catch (Exception ex2)
105 {
106 ex = ex2;
107 }
108 if (ex != null)
109 {
110 readLinesAsyncResult.InvokeCallback(ex);
111 }
112 }
ReadLinesAsyncResult(SmtpReplyReaderFactory parent, AsyncCallback callback, object state)

References System.Net.Mail.SmtpReplyReaderFactory.ReadLinesAsyncResult.ReadLinesAsyncResult(), System.IAsyncResult.AsyncState, and System.IAsyncResult.CompletedSynchronously.