AppManagerApplicationInstanceOnInstallationStartingAsync - метод
Вызывается перед началом процесса установки.
Пространство имён: Tessa.UI.AppManagerСборка: Tessa.UI (в Tessa.UI.dll) Версия: 4.0.4
public ValueTask OnInstallationStartingAsync(
ApplicationPackage package,
long totalBytes,
CancellationToken cancellationToken = default
)
Public Function OnInstallationStartingAsync (
package As ApplicationPackage,
totalBytes As Long,
Optional cancellationToken As CancellationToken = Nothing
) As ValueTask
public:
virtual ValueTask OnInstallationStartingAsync(
ApplicationPackage^ package,
long long totalBytes,
CancellationToken cancellationToken = CancellationToken()
) sealed
abstract OnInstallationStartingAsync :
package : ApplicationPackage *
totalBytes : int64 *
?cancellationToken : CancellationToken
(* Defaults:
let _cancellationToken = defaultArg cancellationToken new CancellationToken()
*)
-> ValueTask
override OnInstallationStartingAsync :
package : ApplicationPackage *
totalBytes : int64 *
?cancellationToken : CancellationToken
(* Defaults:
let _cancellationToken = defaultArg cancellationToken new CancellationToken()
*)
-> ValueTask
- package ApplicationPackage
- Пакет приложения.
- totalBytes Int64
- Общий размер файлов.
- cancellationToken CancellationToken (Optional)
- Объект, посредством которого можно отменить асинхронную задачу.
ValueTaskАсинхронная задача.
IInstallationProcessMonitorOnInstallationStartingAsync(ApplicationPackage, Int64, CancellationToken)