MailMessageEventArgs(MailMessage) Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Creates a new instance of the MailMessageEventArgs class.
public:
MailMessageEventArgs(System::Net::Mail::MailMessage ^ message);
public MailMessageEventArgs (System.Net.Mail.MailMessage message);
new System.Web.UI.WebControls.MailMessageEventArgs : System.Net.Mail.MailMessage -> System.Web.UI.WebControls.MailMessageEventArgs
Public Sub New (message As MailMessage)
Parameters
- message
- MailMessage
The MailMessage containing the message.
Remarks
Create a new instance of the MailMessageEventArgs class when you want to pass a MailMessage object to an event handler that might modify the message before sending it.
Applies to
See also
Bekerjasama dengan kami di GitHub
Sumber untuk kandungan ini boleh didapati di GitHub, di mana anda juga boleh mencipta dan menyemak isu dan menarik permintaan. Untuk maklumat lanjut, lihat panduan penyumbang kami.