WfeControllerUpgrade - метод
Upgrade requested actions for WFE process template or instance.
Пространство имён: Tessa.Web.ControllersСборка: Tessa.Web (в Tessa.Web.dll) Версия: 4.2.0+ffad8363f63902f18b3b3f4cfa533a14b2fb19a6
[HttpPostAttribute("process-templates/upgrade")]
[SessionMethodAttribute(UserAccessLevel.Regular, false, new string[] { ... })]
[TypedJsonBodyAttribute]
[ConsumesAttribute("application/json", new string[] { ... })]
[ProducesAttribute("application/json", new string[] { ... })]
[ProducesResponseTypeAttribute(200)]
public Task<ActionResult<PlainValidationResult>> Upgrade(
[FromBodyAttribute] WorkflowEngineUpgradeRequest request,
CancellationToken cancellationToken = default
)
<HttpPostAttribute("process-templates/upgrade")>
<SessionMethodAttribute(UserAccessLevel.Regular, false, New String() { ... })>
<TypedJsonBodyAttribute>
<ConsumesAttribute("application/json", New String() { ... })>
<ProducesAttribute("application/json", New String() { ... })>
<ProducesResponseTypeAttribute(200)>
Public Function Upgrade (
<FromBodyAttribute> request As WorkflowEngineUpgradeRequest,
Optional cancellationToken As CancellationToken = Nothing
) As Task(Of ActionResult(Of PlainValidationResult))
public:
[HttpPostAttribute(L"process-templates/upgrade")]
[SessionMethodAttribute(UserAccessLevel::Regular, false, __gc new array<String^>^ { ... })]
[TypedJsonBodyAttribute]
[ConsumesAttribute(L"application/json", __gc new array<String^>^ { ... })]
[ProducesAttribute(L"application/json", __gc new array<String^>^ { ... })]
[ProducesResponseTypeAttribute(200)]
Task<ActionResult<PlainValidationResult^>^>^ Upgrade(
[FromBodyAttribute] WorkflowEngineUpgradeRequest^ request,
CancellationToken cancellationToken = CancellationToken()
)
[<HttpPostAttribute("process-templates/upgrade")>]
[<SessionMethodAttribute(UserAccessLevel.Regular, false, new string[] { ... })>]
[<TypedJsonBodyAttribute>]
[<ConsumesAttribute("application/json", new string[] { ... })>]
[<ProducesAttribute("application/json", new string[] { ... })>]
[<ProducesResponseTypeAttribute(200)>]
member Upgrade :
[<FromBodyAttribute>] request : WorkflowEngineUpgradeRequest *
?cancellationToken : CancellationToken
(* Defaults:
let _cancellationToken = defaultArg cancellationToken new CancellationToken()
*)
-> Task<ActionResult<PlainValidationResult>>
- request WorkflowEngineUpgradeRequest
- Request for upgrade WFE-actions.
- cancellationToken CancellationToken (Optional)
- Token to cancel async task.
TaskActionResultPlainValidationResultResult of operation.