System.Net.Mail.SmtpConnection.ConnectAndHandshakeAsyncResult.End C# (CSharp) Méthode

End() static private méthode

static private End ( IAsyncResult result ) : void
result IAsyncResult
Résultat void
            internal static void End(IAsyncResult result)
            {
                ConnectAndHandshakeAsyncResult thisPtr = (ConnectAndHandshakeAsyncResult)result;
                object connectResult = thisPtr.InternalWaitForCompletion();
                if (connectResult is Exception)
                {
                    throw (Exception)connectResult;
                }
            }