SpaControllerOffline - метод
Method is used by Service Worker API. If unsupported by a browser, navigate to main page.
Пространство имён: Tessa.Web.Client.ControllersСборка: Tessa.Web.Client (в Tessa.Web.Client.dll) Версия: 4.0.4
[HttpGetAttribute("offline")]
public Task<IActionResult> Offline(
CancellationToken cancellationToken = default
)
<HttpGetAttribute("offline")>
Public Function Offline (
Optional cancellationToken As CancellationToken = Nothing
) As Task(Of IActionResult)
public:
[HttpGetAttribute(L"offline")]
Task<IActionResult^>^ Offline(
CancellationToken cancellationToken = CancellationToken()
)
[<HttpGetAttribute("offline")>]
member Offline :
?cancellationToken : CancellationToken
(* Defaults:
let _cancellationToken = defaultArg cancellationToken new CancellationToken()
*)
-> Task<IActionResult>
- cancellationToken CancellationToken (Optional)
- Token to cancel async task.
TaskIActionResultHTML page.