FolderInfo.UpdateMessage

FolderInfo.UpdateMessage method

Updates the message in folder.

public void UpdateMessage(string entryId, MapiMessageItemBase updatedMessage)
ParameterTypeDescription
entryIdStringThe message entry identifier.
updatedMessageMapiMessageItemBaseThe updated message.

Exceptions

exceptioncondition
NotImplementedExceptionThe ANSI file version editing is not implemented.
InvalidOperationExceptionThe PST is open for reading only. or The entryId is incorrect.
ArgumentNullExceptionentryId; The entry id cannot be null or empty. or updatedMessage; The message cannot be null.

See Also