OperationsControllerPostStart - метод
Start operation created earlier (take it in progress), if it hasn't been started already.
Пространство имён: Tessa.Web.ControllersСборка: Tessa.Web (в Tessa.Web.dll) Версия: 4.1.3+7e2b1422f9b8c7c41fbbc4b151a843bed05319ab
[HttpPostAttribute("{id:guid}/start")]
[SessionMethodAttribute(UserAccessLevel.Regular, false, new string[] { ... })]
[ProducesAttribute("application/json", new string[] { ... })]
[ProducesResponseTypeAttribute(200)]
public Task<ActionResult<bool>> PostStart(
[FromRouteAttribute] Guid id,
CancellationToken cancellationToken = default
)
<HttpPostAttribute("{id:guid}/start")>
<SessionMethodAttribute(UserAccessLevel.Regular, false, New String() { ... })>
<ProducesAttribute("application/json", New String() { ... })>
<ProducesResponseTypeAttribute(200)>
Public Function PostStart (
<FromRouteAttribute> id As Guid,
Optional cancellationToken As CancellationToken = Nothing
) As Task(Of ActionResult(Of Boolean))
public:
[HttpPostAttribute(L"{id:guid}/start")]
[SessionMethodAttribute(UserAccessLevel::Regular, false, __gc new array<String^>^ { ... })]
[ProducesAttribute(L"application/json", __gc new array<String^>^ { ... })]
[ProducesResponseTypeAttribute(200)]
Task<ActionResult<bool>^>^ PostStart(
[FromRouteAttribute] Guid id,
CancellationToken cancellationToken = CancellationToken()
)
[<HttpPostAttribute("{id:guid}/start")>]
[<SessionMethodAttribute(UserAccessLevel.Regular, false, new string[] { ... })>]
[<ProducesAttribute("application/json", new string[] { ... })>]
[<ProducesResponseTypeAttribute(200)>]
member PostStart :
[<FromRouteAttribute>] id : Guid *
?cancellationToken : CancellationToken
(* Defaults:
let _cancellationToken = defaultArg cancellationToken new CancellationToken()
*)
-> Task<ActionResult<bool>>
- id Guid
- Identifier of operation to start.
- cancellationToken CancellationToken (Optional)
- Token to cancel an async task.
TaskActionResultBooleantrue, if operation is successfully started;
false otherwise.