ViewsBinaryControllerPostGetData - метод
Query the view and get its results. Legacy .NET client app is to be used to deserialize the results.
View has to be accessible for current user.
Пространство имён: Tessa.Web.ControllersСборка: Tessa.Web (в Tessa.Web.dll) Версия: 4.0.4
[HttpPostAttribute("GetData")]
[SessionMethodAttribute(UserAccessLevel.Regular)]
public Task<byte[]?> PostGetData(
[FromBodyAttribute] ITessaViewRequest request,
CancellationToken cancellationToken = default
)
<HttpPostAttribute("GetData")>
<SessionMethodAttribute(UserAccessLevel.Regular)>
Public Function PostGetData (
<FromBodyAttribute> request As ITessaViewRequest,
Optional cancellationToken As CancellationToken = Nothing
) As Task(Of Byte())
public:
[HttpPostAttribute(L"GetData")]
[SessionMethodAttribute(UserAccessLevel::Regular)]
Task<array<unsigned char>^>^ PostGetData(
[FromBodyAttribute] ITessaViewRequest^ request,
CancellationToken cancellationToken = CancellationToken()
)
[<HttpPostAttribute("GetData")>]
[<SessionMethodAttribute(UserAccessLevel.Regular)>]
member PostGetData :
[<FromBodyAttribute>] request : ITessaViewRequest *
?cancellationToken : CancellationToken
(* Defaults:
let _cancellationToken = defaultArg cancellationToken new CancellationToken()
*)
-> Task<byte[]>
- request ITessaViewRequest
- Request to query the view.
- cancellationToken CancellationToken (Optional)
- Token to cancel async task.
TaskByteSerialized results of querying the view.