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
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.