system.net.mail.smtpclient
には、私が非常に混乱している2つの方法があります。これらの2つの方法の違いは何ですか?
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
それが過負荷でないように、2つのメソッドの名前が異なることに注意してください。ここでの違いは何ですか?
両方の方法については、MSDNでの説明は非常に曖昧であるように私は(少なくとも私にとってはそれがある。)非常に明確な答えを探しています
は 'SendMailAsync'は新しい' async'機能で動作するように 'SendAsync'をラップします。 –