System.Net.Mail.MailMessage.EndSend C# (CSharp) 메소드

EndSend() 개인적인 메소드

private EndSend ( IAsyncResult asyncResult ) : void
asyncResult IAsyncResult
리턴 void
        internal void EndSend(IAsyncResult asyncResult)
        {
            _message.EndSend(asyncResult);
        }

Usage Example

예제 #1
0
 void SendMessageCallback(IAsyncResult result)
 {
     GlobalLog.Enter("SmtpClient#" + ValidationHelper.HashString(this) + "::SendMessageCallback");
     try {
         message.EndSend(result);
         // If some recipients failed but not others, throw AFTER sending the message.
         Complete(failedRecipientException, result);
     }
     catch (Exception e) {
         Complete(e, result);
     }
     GlobalLog.Leave("SmtpClient#" + ValidationHelper.HashString(this) + "::SendMessageCallback");
 }
All Usage Examples Of System.Net.Mail.MailMessage::EndSend