ConsoleOperationExecuteAsync(CancellationToken) - метод |
Пространство имён:
Tessa.Platform.ConsoleApps
Сборка:
Tessa (в Tessa.dll) Версия: 3.5.0.19
Синтаксис public virtual Task<int> ExecuteAsync(
CancellationToken cancellationToken = default
)
Public Overridable Function ExecuteAsync (
Optional cancellationToken As CancellationToken = Nothing
) As Task(Of Integer)
public:
virtual Task<int>^ ExecuteAsync(
CancellationToken cancellationToken = CancellationToken()
)
abstract ExecuteAsync :
?cancellationToken : CancellationToken
(* Defaults:
let _cancellationToken = defaultArg cancellationToken new CancellationToken()
*)
-> Task<int>
override ExecuteAsync :
?cancellationToken : CancellationToken
(* Defaults:
let _cancellationToken = defaultArg cancellationToken new CancellationToken()
*)
-> Task<int>
Параметры
- cancellationToken (Optional)
- Тип: System.ThreadingCancellationToken
Возвращаемое значение
Тип:
TaskInt32См. также