MailItem.SetMustDeliver Method

When overridden in a derived class, the SetMustDeliver method specifies that the message will remain in queue until it is delivered, without expiring or generating a non-delivery report (NDR). Executing the SetMustDeliver method sets the value of the MustDeliver property to true. This member was introduced in Microsoft Exchange Server 2007 Service Pack 1 (SP1).

Namespace: Microsoft.Exchange.Data.Transport
Assembly: Microsoft.Exchange.Data.Transport (in microsoft.exchange.data.transport.dll)

Syntax

'Declaration
Public MustOverride Sub SetMustDeliver
public abstract void SetMustDeliver ()
public:
virtual void SetMustDeliver () abstract
public abstract void SetMustDeliver ()
public abstract function SetMustDeliver ()

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