ExchangeServiceMarkAsJunk - метод |
Mark items as junk.
Пространство имён:
Tessa.Exchange.WebServices.Data
Сборка:
Tessa.Server (в Tessa.Server.dll) Версия: 3.5.0.19
Синтаксис 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
- Тип: System.Collections.GenericIEnumerableItemId
ItemIds for the items to mark - isJunk
- Тип: SystemBoolean
Whether the items are junk. If true, senders are add to blocked sender list. If false, senders are removed. - moveItem
- Тип: SystemBoolean
Whether to move the item. Items are moved to junk folder if isJunk is true, inbox if isJunk is false. - token (Optional)
- Тип: System.ThreadingCancellationToken
Возвращаемое значение
Тип:
TaskServiceResponseCollectionMarkAsJunkResponseA ServiceResponseCollection providing itemIds for each of the moved items..
См. также