FileConverterOperationProcessorTryProcessOperationAsync - метод
Выполняет обработку операций по конвертации файла.
Пространство имён: Tessa.Extensions.Default.Server.FileConvertersСборка: Tessa.Extensions.Default.Server (в Tessa.Extensions.Default.Server.dll) Версия: 4.0.4
public ValueTask<bool> TryProcessOperationAsync(
IOperation operation,
IFileConverterRequest request,
CancellationToken cancellationToken = default
)
Public Function TryProcessOperationAsync (
operation As IOperation,
request As IFileConverterRequest,
Optional cancellationToken As CancellationToken = Nothing
) As ValueTask(Of Boolean)
public:
virtual ValueTask<bool> TryProcessOperationAsync(
IOperation^ operation,
IFileConverterRequest^ request,
CancellationToken cancellationToken = CancellationToken()
) sealed
abstract TryProcessOperationAsync :
operation : IOperation *
request : IFileConverterRequest *
?cancellationToken : CancellationToken
(* Defaults:
let _cancellationToken = defaultArg cancellationToken new CancellationToken()
*)
-> ValueTask<bool>
override TryProcessOperationAsync :
operation : IOperation *
request : IFileConverterRequest *
?cancellationToken : CancellationToken
(* Defaults:
let _cancellationToken = defaultArg cancellationToken new CancellationToken()
*)
-> ValueTask<bool>
- operation IOperation
Операция.
- request IFileConverterRequest
Операция.
- cancellationToken CancellationToken (Optional)
- Объект, посредством которого можно отменить асинхронную задачу.
ValueTaskBoolean - если обработка операции успешна, иначе -
IFileConverterOperationProcessorTryProcessOperationAsync(IOperation, IFileConverterRequest, CancellationToken)