Redigera

Dela via


MailMessageEventArgs(MailMessage) Constructor

Definition

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