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

◆ SendHelloCallback()

static void System.Net.Mail.SmtpConnection.ConnectAndHandshakeAsyncResult.SendHelloCallback ( IAsyncResult result)
inlinestaticprivate

Definition at line 281 of file SmtpConnection.cs.

282 {
283 if (!result.CompletedSynchronously)
284 {
285 ConnectAndHandshakeAsyncResult connectAndHandshakeAsyncResult = (ConnectAndHandshakeAsyncResult)result.AsyncState;
286 try
287 {
288 HelloCommand.EndSend(result);
289 connectAndHandshakeAsyncResult.Authenticate();
290 }
291 catch (Exception result2)
292 {
293 connectAndHandshakeAsyncResult.InvokeCallback(result2);
294 }
295 }
296 }
ConnectAndHandshakeAsyncResult(SmtpConnection connection, string host, int port, System.Net.ContextAwareResult outerResult, AsyncCallback callback, object state)

References System.Net.Mail.SmtpConnection.ConnectAndHandshakeAsyncResult.ConnectAndHandshakeAsyncResult(), System.IAsyncResult.AsyncState, System.Net.Mail.SmtpConnection.ConnectAndHandshakeAsyncResult.Authenticate(), System.IAsyncResult.CompletedSynchronously, System.Net.Mail.HelloCommand.EndSend(), and System.Net.LazyAsyncResult.InvokeCallback().