OperationsControllerIsAlive - метод
Пространство имён: Tessa.Web.ControllersСборка: Tessa.Web (в Tessa.Web.dll) Версия: 4.0.4
[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
)
<HttpGetAttribute("{id:guid}/is-alive")>
<SessionMethodAttribute(UserAccessLevel.Regular)>
<ProducesAttribute("application/json", New String() { ... })>
<ProducesResponseTypeAttribute(200)>
Public Function IsAlive (
<FromRouteAttribute> id As Guid,
Optional cancellationToken As CancellationToken = Nothing
) As Task(Of ActionResult(Of Boolean))
public:
[HttpGetAttribute(L"{id:guid}/is-alive")]
[SessionMethodAttribute(UserAccessLevel::Regular)]
[ProducesAttribute(L"application/json", __gc new array<String^>^ { ... })]
[ProducesResponseTypeAttribute(200)]
Task<ActionResult<bool>^>^ IsAlive(
[FromRouteAttribute] Guid id,
CancellationToken cancellationToken = CancellationToken()
)
[<HttpGetAttribute("{id:guid}/is-alive")>]
[<SessionMethodAttribute(UserAccessLevel.Regular)>]
[<ProducesAttribute("application/json", new string[] { ... })>]
[<ProducesResponseTypeAttribute(200)>]
member IsAlive :
[<FromRouteAttribute>] id : Guid *
?cancellationToken : CancellationToken
(* Defaults:
let _cancellationToken = defaultArg cancellationToken new CancellationToken()
*)
-> Task<ActionResult<bool>>
- id Guid
- Identifier of operation to check.
- cancellationToken CancellationToken (Optional)
- Token to cancel async task.
TaskActionResultBooleantrue, if operation is active;
false otherwise.