Share via


CreateItemType.MessageDisposition Property

The MessageDisposition property gets or sets an enumeration that describes how an item is handled after it is created. This property is required for e-mail messages.

Namespace: ExchangeWebServices
Assembly: EWS (in ews.dll)

Syntax

'Declaration
<XmlAttributeAttribute> _
Public Property MessageDisposition As MessageDispositionType
[XmlAttributeAttribute] 
public MessageDispositionType MessageDisposition { get; set; }
[XmlAttributeAttribute] 
public:
property MessageDispositionType MessageDisposition {
    MessageDispositionType get ();
    void set (MessageDispositionType value);
}
/** @property */
public MessageDispositionType get_MessageDisposition ()

/** @property */
public void set_MessageDisposition (MessageDispositionType value)
public function get MessageDisposition () : MessageDispositionType

public function set MessageDisposition (value : MessageDispositionType)

Property Value

The MessageDisposition property returns a MessageDispositionType enumeration value that represents how an item is handled after it is created.

Remarks

You must set the MessageDispositionSpecified property to true so that the MessageDisposition property is serialized into the Simple Object Access Protocol (SOAP) request.

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 98, Windows 2000, Windows 2000 Server, Windows CE, Windows Longhorn, Windows 98 Second Edition, Pocket PC, Smart Phone, Windows Server 2003, Windows XP Professional with Service Pack 2 (SP2)