ApplicationCardSynchronizationStrategyOnSynchronizationCompletedAsync - метод |
Вызывается при завершении синхронизации элементов
Пространство имён:
Tessa.UI.AppManager.Synchronization
Сборка:
Tessa.UI (в Tessa.UI.dll) Версия: 3.5.0.19
Синтаксис public Task OnSynchronizationCompletedAsync(
ApplicationPackage applicationPackage,
ValidationResultBuilder validationResultBuilder,
CancellationToken cancellationToken = default
)
Public Function OnSynchronizationCompletedAsync (
applicationPackage As ApplicationPackage,
validationResultBuilder As ValidationResultBuilder,
Optional cancellationToken As CancellationToken = Nothing
) As Task
public:
virtual Task^ OnSynchronizationCompletedAsync(
ApplicationPackage^ applicationPackage,
ValidationResultBuilder^ validationResultBuilder,
CancellationToken cancellationToken = CancellationToken()
) sealed
abstract OnSynchronizationCompletedAsync :
applicationPackage : ApplicationPackage *
validationResultBuilder : ValidationResultBuilder *
?cancellationToken : CancellationToken
(* Defaults:
let _cancellationToken = defaultArg cancellationToken new CancellationToken()
*)
-> Task
override OnSynchronizationCompletedAsync :
applicationPackage : ApplicationPackage *
validationResultBuilder : ValidationResultBuilder *
?cancellationToken : CancellationToken
(* Defaults:
let _cancellationToken = defaultArg cancellationToken new CancellationToken()
*)
-> Task
Параметры
- applicationPackage
- Тип: Tessa.Applications.PackageApplicationPackage
Пакет приложения
- validationResultBuilder
- Тип: Tessa.Platform.ValidationValidationResultBuilder
Построитель результатов валидации
- cancellationToken (Optional)
- Тип: System.ThreadingCancellationToken
Объект, посредством которого можно отменить асинхронную задачу.
Возвращаемое значение
Тип:
TaskАсинхронная задача.
Реализации
IApplicationSynchronizationStrategyOnSynchronizationCompletedAsync(ApplicationPackage, ValidationResultBuilder, 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.
|
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.
|
InvalidOperationException |
The initialization function tries to access
Value on this instance.
|
Exception |
A delegate callback throws an exception.
|
См. также