ExchangeServiceMarkAsJunk - метод

Mark items as junk.

Definition

Пространство имён: Tessa.Exchange.WebServices.Data
Сборка: Tessa.Server (в Tessa.Server.dll) Версия: 4.0.4
C#
public Task<ServiceResponseCollection<MarkAsJunkResponse>> MarkAsJunk(
	IEnumerable<ItemId> itemIds,
	bool isJunk,
	bool moveItem,
	CancellationToken token = default
)

Параметры

itemIds  IEnumerableItemId
ItemIds for the items to mark
isJunk  Boolean
Whether the items are junk. If true, senders are add to blocked sender list. If false, senders are removed.
moveItem  Boolean
Whether to move the item. Items are moved to junk folder if isJunk is true, inbox if isJunk is false.
token  CancellationToken  (Optional)
 

Возвращаемое значение

TaskServiceResponseCollectionMarkAsJunkResponse
A ServiceResponseCollection providing itemIds for each of the moved items..

См. также