GraphClient.DeleteMessage Method
Namespace: Rebex.Net
Assembly: Rebex.Graph.dll (version 7.0.9147)
DeleteMessage(GraphMessageId)
Deletes a message with the specified ID.
Declaration
public void DeleteMessage(GraphMessageId id)
Parameters
Type | Name | Description |
---|---|---|
Graph |
id | ID of a message to delete. |
Remarks
The message is soft-deleted, which means it is moved to the Deletions subfolder of the Recoverable Items folder (accessed using Deletions).
The message is hard-deleted (permanently), based on retention period of the mailbox, which is by default 14 days.