WorkplaceViewComponentExecuteAsync(RefreshViewCommand, CancellationToken) - метод
Осуществляет исполнение команды command
Пространство имён: Tessa.UI.ViewsСборка: Tessa.UI (в Tessa.UI.dll) Версия: 4.0.4
public Task ExecuteAsync(
RefreshViewCommand command,
CancellationToken cancellationToken = default
)
Public Function ExecuteAsync (
command As RefreshViewCommand,
Optional cancellationToken As CancellationToken = Nothing
) As Task
public:
virtual Task^ ExecuteAsync(
RefreshViewCommand^ command,
CancellationToken cancellationToken = CancellationToken()
) sealed
abstract ExecuteAsync :
command : RefreshViewCommand *
?cancellationToken : CancellationToken
(* Defaults:
let _cancellationToken = defaultArg cancellationToken new CancellationToken()
*)
-> Task
override ExecuteAsync :
command : RefreshViewCommand *
?cancellationToken : CancellationToken
(* Defaults:
let _cancellationToken = defaultArg cancellationToken new CancellationToken()
*)
-> Task
- command RefreshViewCommand
-
Исполняемая команда
- cancellationToken CancellationToken (Optional)
- Объект, посредством которого можно отменить асинхронную задачу.
TaskАсинхронная задача.
IRoutedCommandHandlerTCommandExecuteAsync(TCommand, CancellationToken)