Folder.MarkAllItemsAsUnread method

EWS Managed API

Marks all items in folder as unread.

The MarkAllItemsAsUnread(Boolean) method is applicable for clients that target Exchange Online and versions of Exchange starting with Exchange Server 2013.

Namespace:  Microsoft.Exchange.WebServices.Data
Assembly:  Microsoft.Exchange.WebServices (in Microsoft.Exchange.WebServices.dll)

public void MarkAllItemsAsUnread(
	bool suppressReadReceipts
)

Parameters

suppressReadReceipts
Type: System.Boolean

true to suppress sending read receipts for items; otherwise, false.

Calling this method results in a call to Exchange Web Services (EWS).

Show:
© 2014 Microsoft