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