PersonalStorage.ChangeMessage

PersonalStorage.ChangeMessage method

Changes the message properties.

public void ChangeMessage(string entryId, MapiPropertyCollection updatedProperties)
ParameterTypeDescription
entryIdStringThe entry identifier of message.
updatedPropertiesMapiPropertyCollectionThe updated properties.

Exceptions

exceptioncondition
NotImplementedExceptionThe ANSI file version editing is not implemented.
InvalidOperationExceptionThe PST is open for reading only. or The entryId is incorrect.
ArgumentNullExceptionentryIdCollection;The collection of entry ids cannot be null. or updatedProperties;The collection of properties cannot be null.
InvalidOperationExceptionThrown when attempting to modify a PST file that is open for reading only.
NotImplementedExceptionThrown when attempting to edit the ANSI file version.
ArgumentNullExceptionThrown when entry id is null.
NotImplementedExceptionThrown when property collection is null.

See Also