OperationProgressHandlerFactoryCreateOperationHandlerAsync(Int32, Guid, CancellationToken) - метод
Пространство имён: Tessa.Roles.OperationsСборка: Tessa (в Tessa.dll) Версия: 4.0.4
public ValueTask<IOperationProgressHandler> CreateOperationHandlerAsync(
int stageCount,
Guid operationID,
CancellationToken cancellationToken = default
)
Public Function CreateOperationHandlerAsync (
stageCount As Integer,
operationID As Guid,
Optional cancellationToken As CancellationToken = Nothing
) As ValueTask(Of IOperationProgressHandler)
public:
virtual ValueTask<IOperationProgressHandler^> CreateOperationHandlerAsync(
int stageCount,
Guid operationID,
CancellationToken cancellationToken = CancellationToken()
) sealed
abstract CreateOperationHandlerAsync :
stageCount : int *
operationID : Guid *
?cancellationToken : CancellationToken
(* Defaults:
let _cancellationToken = defaultArg cancellationToken new CancellationToken()
*)
-> ValueTask<IOperationProgressHandler>
override CreateOperationHandlerAsync :
stageCount : int *
operationID : Guid *
?cancellationToken : CancellationToken
(* Defaults:
let _cancellationToken = defaultArg cancellationToken new CancellationToken()
*)
-> ValueTask<IOperationProgressHandler>
- stageCount Int32
- Количество этапов операции. Должно быть больше нуля.
- operationID Guid
- Идентификатор операции.
- cancellationToken CancellationToken (Optional)
- Объект, посредством которого можно отменить асинхронную задачу.
ValueTaskIOperationProgressHandlerОбработчик прогресса выполнения операции.
IOperationProgressHandlerFactoryCreateOperationHandlerAsync(Int32, Guid, CancellationToken)