FileSystemSynchronizationStrategyOnSynchronizationCompletedAsync - метод
Вызывается при завершении синхронизации элементов
Пространство имён: Tessa.Applications.SynchronizationСборка: Tessa (в Tessa.dll) Версия: 3.6.0.22
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 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.
|