OperationsControllerIsAlive - метод

Check if operation is active. That operation may be created (not in progress), in progress or completed (if method PostComplete(Guid, OperationResponse, Boolean, CancellationToken) is used to complete operation without its deletion).

Definition

Пространство имён: Tessa.Web.Controllers
Сборка: Tessa.Web (в Tessa.Web.dll) Версия: 4.0.4
C#
[HttpGetAttribute("{id:guid}/is-alive")]
[SessionMethodAttribute(UserAccessLevel.Regular)]
[ProducesAttribute("application/json", new string[] { ... })]
[ProducesResponseTypeAttribute(200)]
public Task<ActionResult<bool>> IsAlive(
	[FromRouteAttribute] Guid id,
	CancellationToken cancellationToken = default
)

Параметры

id  Guid
Identifier of operation to check.
cancellationToken  CancellationToken  (Optional)
Token to cancel async task.

Возвращаемое значение

TaskActionResultBoolean
true, if operation is active; false otherwise.

См. также