Skip to main content Skip to complementary content

SendAsync Method

Overloads

SendAsync(Int32, String, IEnumerable<String>, Object[])

Sends a request asynchronously to a Qlik Sense instance

SendAsync(Request)

Sends a request asynchronously to a Qlik Sense instance

SendAsync<T>(Request, Func<Response, T>)

Sends a request asynchronously to a Qlik Sense instance with a specified response handler

SendAsync(Int32, String, IEnumerable<String>, Object[])

Sends a request asynchronously to a Qlik Sense instance

Declaration

      Task<Response> SendAsync(int wsHandle, string wsMethod, IEnumerable<string> argumentNames, params object[] arguments)
    

Parameters

Type Name Description
System.Int32 wsHandle

Handle to a specific Qlik Sense entity instance

System.String wsMethod

Method name

System.Collections.Generic.IEnumerable<System.String> argumentNames

Positional argument names for the method

System.Object[] arguments

Arguments for method

Returns

Type Description
System.Threading.Tasks.Task<Response>

A Task with default unhandled Response instance

SendAsync(Request)

Sends a request asynchronously to a Qlik Sense instance

Declaration

      Task SendAsync(Request request)
    

Parameters

Type Name Description
Request request

Request to send

Returns

Type Description
System.Threading.Tasks.Task

A Task without deserialized response

SendAsync<T>(Request, Func<Response, T>)

Sends a request asynchronously to a Qlik Sense instance with a specified response handler

Declaration

      Task<T> SendAsync<T>(Request request, Func<Response, T> continueWith)
    

Parameters

Type Name Description
Request request

Request to send

System.Func<Response, T> continueWith

Response handler that is used to change the Response object into an instance of T

Returns

Type Description
System.Threading.Tasks.Task<T>

Task that will resolve into a handled instance of T

Type Parameters

Name Description
T

Dynamic type that should be returned

Did this page help you?

If you find any issues with this page or its content – a typo, a missing step, or a technical error – let us know how we can improve!