ClientControllerCloseSession - метод |
Пространство имён:
Tessa.Web.Client.Controllers
Сборка:
Tessa.Web.Client (в Tessa.Web.Client.dll) Версия: 3.5.0.19
Синтаксис [HttpPostAttribute("sessions/close")]
[SessionMethodAttribute(UserAccessLevel.Regular)]
[ProducesResponseTypeAttribute(typeof(bool), 200)]
public Task<ActionResult> CloseSession(
void cancellationToken = default
)
<HttpPostAttribute("sessions/close")>
<SessionMethodAttribute(UserAccessLevel.Regular)>
<ProducesResponseTypeAttribute(GetType(Boolean), 200)>
Public Function CloseSession (
Optional cancellationToken As Void = Nothing
) As Task(Of ActionResult)
public:
[HttpPostAttribute(L"sessions/close")]
[SessionMethodAttribute(UserAccessLevel::Regular)]
[ProducesResponseTypeAttribute(typeof(bool), 200)]
Task<ActionResult^>^ CloseSession(
void cancellationToken = void()
)
[<HttpPostAttribute("sessions/close")>]
[<SessionMethodAttribute(UserAccessLevel.Regular)>]
[<ProducesResponseTypeAttribute(typeof(bool), 200)>]
member CloseSession :
?cancellationToken : unit
(* Defaults:
let _cancellationToken = defaultArg cancellationToken new unit()
*)
-> Task<ActionResult>
Параметры
- cancellationToken (Optional)
- Тип: SystemVoid
Возвращаемое значение
Тип:
TaskActionResultTValueСм. также