SchemeControllerGetProcedure - метод
Get procedure by identifier. Returns 204 (No Content) if not found.
Пространство имён: Tessa.Web.ControllersСборка: Tessa.Web (в Tessa.Web.dll) Версия: 4.0.4
[HttpGetAttribute("procedures/{id:guid}")]
[ProducesAttribute("application/json", new string[] { ... })]
[ProducesResponseTypeAttribute(200)]
[ProducesResponseTypeAttribute(204)]
public ValueTask<ActionResult<PlainSchemeProcedure>> GetProcedure(
[FromRouteAttribute] Guid id,
CancellationToken cancellationToken = default
)
<HttpGetAttribute("procedures/{id:guid}")>
<ProducesAttribute("application/json", New String() { ... })>
<ProducesResponseTypeAttribute(200)>
<ProducesResponseTypeAttribute(204)>
Public Function GetProcedure (
<FromRouteAttribute> id As Guid,
Optional cancellationToken As CancellationToken = Nothing
) As ValueTask(Of ActionResult(Of PlainSchemeProcedure))
public:
[HttpGetAttribute(L"procedures/{id:guid}")]
[ProducesAttribute(L"application/json", __gc new array<String^>^ { ... })]
[ProducesResponseTypeAttribute(200)]
[ProducesResponseTypeAttribute(204)]
ValueTask<ActionResult<PlainSchemeProcedure^>^> GetProcedure(
[FromRouteAttribute] Guid id,
CancellationToken cancellationToken = CancellationToken()
)
[<HttpGetAttribute("procedures/{id:guid}")>]
[<ProducesAttribute("application/json", new string[] { ... })>]
[<ProducesResponseTypeAttribute(200)>]
[<ProducesResponseTypeAttribute(204)>]
member GetProcedure :
[<FromRouteAttribute>] id : Guid *
?cancellationToken : CancellationToken
(* Defaults:
let _cancellationToken = defaultArg cancellationToken new CancellationToken()
*)
-> ValueTask<ActionResult<PlainSchemeProcedure>>
- id Guid
- Identifier of procedure.
- cancellationToken CancellationToken (Optional)
- Token to cancel async task.
ValueTaskActionResultPlainSchemeProcedureProcedure, or 204 (No Content) if not found.