OperationExecuteAsync - метод |
Пространство имён:
Tessa.Extensions.Default.Console.ConvertConfiguration
Сборка:
Tessa.Extensions.Default.Console (в Tessa.Extensions.Default.Console.dll) Версия: 3.5.0.19
Синтаксис public override Task<int> ExecuteAsync(
OperationContext context,
CancellationToken cancellationToken = default
)
Public Overrides Function ExecuteAsync (
context As OperationContext,
Optional cancellationToken As CancellationToken = Nothing
) As Task(Of Integer)
public:
virtual Task<int>^ ExecuteAsync(
OperationContext^ context,
CancellationToken cancellationToken = CancellationToken()
) override
abstract ExecuteAsync :
context : OperationContext *
?cancellationToken : CancellationToken
(* Defaults:
let _cancellationToken = defaultArg cancellationToken new CancellationToken()
*)
-> Task<int>
override ExecuteAsync :
context : OperationContext *
?cancellationToken : CancellationToken
(* Defaults:
let _cancellationToken = defaultArg cancellationToken new CancellationToken()
*)
-> Task<int>
Параметры
- context
- Тип: Tessa.Extensions.Default.Console.ConvertConfigurationOperationContext
- cancellationToken (Optional)
- Тип: System.ThreadingCancellationToken
Возвращаемое значение
Тип:
TaskInt32Реализации
IConsoleOperationTOperationContextExecuteAsync(TOperationContext, CancellationToken)См. также