ItemMove(FolderId, CancellationToken) - метод |
Moves this item to a the specified folder. Calling this method results in a call to EWS.
Move returns null if the move operation is across two mailboxes or between a mailbox and a
public folder.
Пространство имён:
Tessa.Exchange.WebServices.Data
Сборка:
Tessa.Server (в Tessa.Server.dll) Версия: 3.5.0.19
Синтаксис public Task<Item> Move(
FolderId destinationFolderId,
CancellationToken token = default
)
Public Function Move (
destinationFolderId As FolderId,
Optional token As CancellationToken = Nothing
) As Task(Of Item)
public:
Task<Item^>^ Move(
FolderId^ destinationFolderId,
CancellationToken token = CancellationToken()
)
member Move :
destinationFolderId : FolderId *
?token : CancellationToken
(* Defaults:
let _token = defaultArg token new CancellationToken()
*)
-> Task<Item>
Параметры
- destinationFolderId
- Тип: Tessa.Exchange.WebServices.DataFolderId
The Id of the folder to which to move this item. - token (Optional)
- Тип: System.ThreadingCancellationToken
Возвращаемое значение
Тип:
TaskItemThe moved copy of this item.
См. также