ApplicationCardSynchronizationStrategy.DeleteFileAsync - метод

Удаляет файл заданный в file

Definition

Пространство имён: Tessa.UI.AppManager.Synchronization
Сборка: Tessa.UI (в Tessa.UI.dll) Версия: 3.6.0.23
C#
public Task DeleteFileAsync(
	ApplicationPackageFile file,
	CancellationToken cancellationToken = default
)

Параметры

file  ApplicationPackageFile
Описание удаляемого файла
cancellationToken  CancellationToken  (Optional)
Объект, посредством которого можно отменить асинхронную задачу.

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

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

Реализации

IApplicationSynchronizationStrategy.DeleteFileAsync(ApplicationPackageFile, CancellationToken)

Исключения

InvalidOperationException The initialization function tries to access Value on this instance.
MissingMemberException The Lazy<T> 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 Lazy<T> instance is initialized to use the default constructor of the type that is being lazily initialized, and permissions to access the constructor are missing.

См. также