system.net.mail.smtpclient
에는 두 가지 방법이 있습니다. 나는 매우 혼란 스럽습니다.이 두 가지 방법의 차이점은 무엇입니까?
1. 가 SendAsync (은 MailMessage, Object)를
Sends the specified e-mail message to an SMTP server for delivery. This method does not block the calling thread and allows the caller to pass an object to the method that is invoked when the operation completes.
-MSDN
2. SendMailAsync (은 MailMessage)
Sends the specified message to an SMTP server for delivery as an asynchronous operation.
가 과부하되지 않도록 두 방법의 이름이 다르다고 -MSDN
통지. 여기 정확히 다른 점은 무엇입니까?
내가 두 가지 방법에 대해 MSDN에 의해 주어진 설명으로 명확 대답을 찾고은 매우 모호 (적어도 나를 위해 그것을이다.)
는'SendMailAsync'이 랩은'SendAsync' 새로운'async' 기능이 작동합니다. –