Share via


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
public abstract MailItem MailItem { get; }
public:
virtual property MailItem^ MailItem {
    MailItem^ get () abstract;
}
/** @property */
public abstract MailItem get_MailItem ()
public abstract function get MailItem () : MailItem

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows XP Professional with Service Pack 2 (SP2), Windows Server 2003,

Target Platforms

Windows Server 2003