WorkplaceAdapterCloseWorkplaceAsync - метод
Осуществляет закрытие узла, открытого в отдельном окне
Пространство имён: Tessa.UI.WindowsСборка: Tessa.UI (в Tessa.UI.dll) Версия: 3.6.0.22
public Task CloseWorkplaceAsync(
ISupportTabItem workplaceItem,
CancellationToken cancellationToken = default
)
Public Function CloseWorkplaceAsync (
workplaceItem As ISupportTabItem,
Optional cancellationToken As CancellationToken = Nothing
) As Task
public:
Task^ CloseWorkplaceAsync(
ISupportTabItem^ workplaceItem,
CancellationToken cancellationToken = CancellationToken()
)
member CloseWorkplaceAsync :
workplaceItem : ISupportTabItem *
?cancellationToken : CancellationToken
(* Defaults:
let _cancellationToken = defaultArg cancellationToken new CancellationToken()
*)
-> Task
- workplaceItem ISupportTabItem
-
Закрываемый элемент
- cancellationToken CancellationToken (Optional)
- Объект, посредством которого можно отменить асинхронную задачу.
TaskАсинхронная задача.