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
Tee yhteistyötä kanssamme GitHubissa
Tämän sisällön lähde on GitHubissa, jossa voit myös luoda ja tarkastella ongelmia ja pull-pyyntöjä. Katso lisätietoja osallistujan oppaasta.