ExchangeServiceMarkAsJunk - метод
Mark items as junk.
Пространство имён: Tessa.Exchange.WebServices.DataСборка: Tessa.Server (в Tessa.Server.dll) Версия: 3.6.0.22
public Task<ServiceResponseCollection<MarkAsJunkResponse>> MarkAsJunk(
IEnumerable<ItemId> itemIds,
bool isJunk,
bool moveItem,
CancellationToken token = default
)
Public Function MarkAsJunk (
itemIds As IEnumerable(Of ItemId),
isJunk As Boolean,
moveItem As Boolean,
Optional token As CancellationToken = Nothing
) As Task(Of ServiceResponseCollection(Of MarkAsJunkResponse))
public:
Task<ServiceResponseCollection<MarkAsJunkResponse^>^>^ MarkAsJunk(
IEnumerable<ItemId^>^ itemIds,
bool isJunk,
bool moveItem,
CancellationToken token = CancellationToken()
)
member MarkAsJunk :
itemIds : IEnumerable<ItemId> *
isJunk : bool *
moveItem : bool *
?token : CancellationToken
(* Defaults:
let _token = defaultArg token new CancellationToken()
*)
-> Task<ServiceResponseCollection<MarkAsJunkResponse>>
- 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)
-
TaskServiceResponseCollectionMarkAsJunkResponseA ServiceResponseCollection providing itemIds for each of the moved items..