DeleteReceivedMessage Method

DeleteReceivedMessage Method

This content is no longer actively maintained. It is provided as is, for anyone who may still be using these technologies, with no warranties or claims of accuracy with regard to the most recent product version or service release.

Deletes the message correlated with the ProcessInstance item.

Applies To

IWorkflowSession Interface

Type Library

Microsoft CDO Workflow Objects for Microsoft Exchange

DLL Implemented In

CDOWF.DLL

Syntax

[Visual Basic]Sub DeleteReceivedMessage
()

[C++]HRESULT DeleteReceivedMessage ();

Return Value

Returns S_OK if successful, or an error value otherwise.

Remarks

You can only call this method for the OnReceive event. This method deletes the message that was correlated with ProcessInstance.

Example

'OnReceive event in ActionTable 'Action Script Procedure: WorkflowSession.DeleteReceivedMessage

See Also

Event Types

ProcessInstance CoClass

ReceivedMessage Property

Send us your feedback about the Microsoft Exchange Server 2003 SDK.

Build: June 2007 (2007.618.1)

© 2003-2006 Microsoft Corporation. All rights reserved. Terms of use.