QueuedMessageEventArgs.MailItem property
The MailItem property gets an instance of the MailItem class that is associated with the event to which the instance of the QueuedMessageEventArgs class was passed.
Namespace: Microsoft.Exchange.Data.Transport.Routing
Assembly: Microsoft.Exchange.Data.Transport (in Microsoft.Exchange.Data.Transport.dll)
Syntax
'Declaration
Public MustOverride ReadOnly Property MailItem As MailItem
Get
'Usage
Dim instance As QueuedMessageEventArgs
Dim value As MailItem
value = instance.MailItem
public abstract MailItem MailItem { get; }
Property value
Type: Microsoft.Exchange.Data.Transport.MailItem