SessionsBinaryControllerPostCloseSession - метод
Close current session determined by HTTP auth header. Returns flag whether session was present and was closed.
Пространство имён: Tessa.Web.ControllersСборка: Tessa.Web (в Tessa.Web.dll) Версия: 4.0.4
[HttpPostAttribute("CloseSession")]
[SessionMethodAttribute(UserAccessLevel.Regular)]
public Task<bool> PostCloseSession(
CancellationToken cancellationToken = default
)
<HttpPostAttribute("CloseSession")>
<SessionMethodAttribute(UserAccessLevel.Regular)>
Public Function PostCloseSession (
Optional cancellationToken As CancellationToken = Nothing
) As Task(Of Boolean)
public:
[HttpPostAttribute(L"CloseSession")]
[SessionMethodAttribute(UserAccessLevel::Regular)]
Task<bool>^ PostCloseSession(
CancellationToken cancellationToken = CancellationToken()
)
[<HttpPostAttribute("CloseSession")>]
[<SessionMethodAttribute(UserAccessLevel.Regular)>]
member PostCloseSession :
?cancellationToken : CancellationToken
(* Defaults:
let _cancellationToken = defaultArg cancellationToken new CancellationToken()
*)
-> Task<bool>
- cancellationToken CancellationToken (Optional)
- Token to cancel async task.
TaskBooleantrue if session was present and was closed;
false otherwise.