Export (0) Print
Expand All

3.2.5.11 Processing a RopDeleteMessages ROP Request

When the server receives a RopDeleteMessagesROP request buffer ([MS-OXCROPS] section 2.2.4.11) from the client, the server parses the buffer. The server responds with a RopDeleteMessages ROP response buffer. For details about how the server parses buffers and processes ROPs, see [MS-OXCROPS] section 3.2.5.1. For details about how the server formats buffers for the response, see [MS-OXCROPS] section 3.2.5.2.

The server soft deletes the specified messages. The server MUST NOT delete any messages that are opened with read/write access. For details about how a message is opened with read/write access, see [MS-OXCMSG] section 3.1.4.1. If the server fails to delete any messages, it sets the PartialCompletion field of the RopDeleteMessages ROP response buffer to nonzero (TRUE), as specified in section 2.2.1.11.2.

If the NotifyNonRead field of the RopDeleteMessages ROP request buffer is set to nonzero (TRUE), as specified in section 2.2.1.11.1, the server generates a non-read receipt for each message that is being deleted and has requested a read receipt. For more information about read receipts and non-read receipts, see [MS-OXOMSG].

If the client requests asynchronous execution, the server executes this ROP asynchronously. During asynchronous processing, the server can return a RopProgress ROP response buffer ([MS-OXCROPS] section 2.2.8.13) to indicate that the operation is still processing, or it can return a RopDeleteMessages ROP response buffer to indicate that the operation has already completed. If the operation fails at any point during the asynchronous processing, the server returns a RopDeleteMessages ROP response buffer with an appropriate error code. For details about the RopProgress ROP and how it is used, see [MS-OXCPRPT] sections 2.2.22 and 3.2.5.19.

The following specific error code applies to this ROP. For more details about ROP errors, see [MS-OXCDATA] section 2.4.

Error code name

Value

Meaning

ecNotSupported

0x80040102

The object that this ROP was called on is not a Folder object.

Show:
© 2014 Microsoft