ApplicationCardSynchronizationStrategyStartSynchronizationAsync - метод
Вызывается при запуске процесса синхронизации
Пространство имён: Tessa.UI.AppManager.SynchronizationСборка: Tessa.UI (в Tessa.UI.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) MemberAccessException |
The LazyT instance is initialized to use the default
constructor of the type that is being lazily initialized, and permissions to access the constructor are missing.
|
InvalidOperationException |
The initialization function tries to access
Value on this instance.
|
MissingMemberException |
The LazyT instance is initialized to use the default
constructor of the type that is being lazily initialized, and that type does not have a public, parameterless
constructor.
|
ArgumentNullException |
source or selector is null.
|
OverflowException |
The sum is larger than MaxValue.
|