Rebex
Products Downloads Buy Support Contact
Show / Hide Table of Contents

GraphClient.DeleteMessageAsync Method

Namespace: Rebex.Net
Assembly: Rebex.Graph.dll (version 7.0.9147)

DeleteMessageAsync(GraphMessageId)

Begins asynchronous DeleteMessage operation. Deletes a message with the specified ID.

Declaration
public Task DeleteMessageAsync(GraphMessageId id)
Parameters
Type Name Description
GraphMessageId id

ID of a message to delete.

Returns
Type Description
Task
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.

In This Article
  • DeleteMessageAsync(GraphMessageId)
© REBEX ČR s.r.o. Back to top
Privacy policy
Manage cookies