ApplicationCardSynchronizationStrategyDeleteFileAsync - метод
Удаляет файл заданный в file
Пространство имён: Tessa.UI.AppManager.SynchronizationСборка: Tessa.UI (в Tessa.UI.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) 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.
|
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.
|