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