FileSystemSynchronizationStrategyOnSynchronizationCompletedAsync - метод

Вызывается при завершении синхронизации элементов

Definition

Пространство имён: Tessa.Applications.Synchronization
Сборка: Tessa (в Tessa.dll) Версия: 3.6.0.22
C#
public Task OnSynchronizationCompletedAsync(
	ApplicationPackage applicationPackage,
	ValidationResultBuilder validationResultBuilder,
	CancellationToken cancellationToken = default
)

Параметры

applicationPackage  ApplicationPackage
Пакет приложения
validationResultBuilder  ValidationResultBuilder
Построитель результатов валидации
cancellationToken  CancellationToken  (Optional)
Объект, посредством которого можно отменить асинхронную задачу.

Возвращаемое значение

Task
Асинхронная задача.

Реализации

IApplicationSynchronizationStrategyOnSynchronizationCompletedAsync(ApplicationPackage, ValidationResultBuilder, CancellationToken)

Исключения

UnauthorizedAccessException The caller does not have the required permission.-or- path specified a file that is read-only.
DirectoryNotFoundException The specified path is invalid (for example, it is on an unmapped drive).
IOException An I/O error occurred while creating the file.
ArgumentException path is a zero-length string, contains only white space, or contains one or more invalid characters as defined by InvalidPathChars.
ArgumentNullException path is null.
PathTooLongException The specified path, file name, or both exceed the system-defined maximum length. For example, on Windows-based platforms, paths must be less than 248 characters, and file names must be less than 260 characters.
NotSupportedException path is in an invalid format.

См. также