CheckControllerCheck - метод
Get text description of server's environment and configuration including OS and .NET versions,
and list of loaded extensions and additional controller assemblies.
Also checks whether cards and views components are functional, and returns the results of said checks.
Doesn't require authentication.
Пространство имён: Tessa.Web.ControllersСборка: Tessa.Web (в Tessa.Web.dll) Версия: 4.0.4
[HttpGetAttribute]
[ProducesAttribute("text/plain", new string[] { ... })]
public Task<string> Check(
CancellationToken cancellationToken = default
)
<HttpGetAttribute>
<ProducesAttribute("text/plain", New String() { ... })>
Public Function Check (
Optional cancellationToken As CancellationToken = Nothing
) As Task(Of String)
public:
[HttpGetAttribute]
[ProducesAttribute(L"text/plain", __gc new array<String^>^ { ... })]
Task<String^>^ Check(
CancellationToken cancellationToken = CancellationToken()
)
[<HttpGetAttribute>]
[<ProducesAttribute("text/plain", new string[] { ... })>]
member Check :
?cancellationToken : CancellationToken
(* Defaults:
let _cancellationToken = defaultArg cancellationToken new CancellationToken()
*)
-> Task<string>
- cancellationToken CancellationToken (Optional)
- Token to cancel async task.
TaskString
Text description of server's environment and configuration, and the result of performed checks.
Returns text
"Health check is disabled in configuration" if operation is disabled in server's configuration.