ClientControllerDeleteOperationAsync - метод |
Пространство имён:
Tessa.Web.Client.Controllers
Сборка:
Tessa.Web.Client (в Tessa.Web.Client.dll) Версия: 3.5.0.19
Синтаксис [HttpPostAttribute("operations/delete")]
[SessionMethodAttribute(UserAccessLevel.Regular)]
public Task<IActionResult> DeleteOperationAsync(
Guid id,
CancellationToken cancellationToken = default
)
<HttpPostAttribute("operations/delete")>
<SessionMethodAttribute(UserAccessLevel.Regular)>
Public Function DeleteOperationAsync (
id As Guid,
Optional cancellationToken As CancellationToken = Nothing
) As Task(Of IActionResult)
public:
[HttpPostAttribute(L"operations/delete")]
[SessionMethodAttribute(UserAccessLevel::Regular)]
Task<IActionResult^>^ DeleteOperationAsync(
Guid id,
CancellationToken cancellationToken = CancellationToken()
)
[<HttpPostAttribute("operations/delete")>]
[<SessionMethodAttribute(UserAccessLevel.Regular)>]
member DeleteOperationAsync :
id : Guid *
?cancellationToken : CancellationToken
(* Defaults:
let _cancellationToken = defaultArg cancellationToken new CancellationToken()
*)
-> Task<IActionResult>
Параметры
- id
- Тип: SystemGuid
Идентификатор удаляемой операции. - cancellationToken (Optional)
- Тип: System.ThreadingCancellationToken
Объект, посредством которого можно отменить асинхронную задачу.
Возвращаемое значение
Тип:
TaskIActionResultОтвет неа запрос.
См. также