FileSystemSynchronizationStrategyStartSynchronizationAsync - метод
Вызывается при запуске процесса синхронизации
Пространство имён: Tessa.Applications.SynchronizationСборка: Tessa (в Tessa.dll) Версия: 4.0.4
public Task StartSynchronizationAsync(
ApplicationPackage applicationPackage,
CancellationToken cancellationToken = default
)
Public Function StartSynchronizationAsync (
applicationPackage As ApplicationPackage,
Optional cancellationToken As CancellationToken = Nothing
) As Task
public:
virtual Task^ StartSynchronizationAsync(
ApplicationPackage^ applicationPackage,
CancellationToken cancellationToken = CancellationToken()
) sealed
abstract StartSynchronizationAsync :
applicationPackage : ApplicationPackage *
?cancellationToken : CancellationToken
(* Defaults:
let _cancellationToken = defaultArg cancellationToken new CancellationToken()
*)
-> Task
override StartSynchronizationAsync :
applicationPackage : ApplicationPackage *
?cancellationToken : CancellationToken
(* Defaults:
let _cancellationToken = defaultArg cancellationToken new CancellationToken()
*)
-> Task
- applicationPackage ApplicationPackage
-
Пакет приложения
- cancellationToken CancellationToken (Optional)
- Объект, посредством которого можно отменить асинхронную задачу.
TaskАсинхронная задача.
IApplicationSynchronizationStrategyStartSynchronizationAsync(ApplicationPackage, CancellationToken)