IAppSendGenericCommandToCustomConnectorAsyncT Method (AsyncHandle, FuncResponse, T, String, String, String, IEnumerableString, String) |
Sends a generic command to a custom connector.
For more information on the commands that can be sent to a custom connector, see the QVX SDK help.
Namespace: Qlik.EngineAssembly: Qlik.Engine (in Qlik.Engine.dll) Version: 2.1.0.0+Build:7.origin/release/ms13
Syntax Task<T> SendGenericCommandToCustomConnectorAsync<T>(
AsyncHandle asyncHandle,
Func<Response, T> onResult,
string provider,
string command,
string method,
IEnumerable<string> parameters,
string appendConnection
)
Function SendGenericCommandToCustomConnectorAsync(Of T) (
asyncHandle As AsyncHandle,
onResult As Func(Of Response, T),
provider As String,
command As String,
method As String,
parameters As IEnumerable(Of String),
appendConnection As String
) As Task(Of T)
Parameters
- asyncHandle
- Type: Qlik.EngineAsyncHandle
Handle to asynchronous method request - onResult
- Type: SystemFuncResponse, T
Continuation function - provider
- Type: SystemString
Connector file name.
Command to be executed by the connector. - command
- Type: SystemString
One of:
JsonRequest
GetCustomCaption
IsConnected
DisableQlikViewSelectButton
HaveStarField - method
- Type: SystemString
Method name to be used within the command.
The available methods depend on the chosen connector. - parameters
- Type: System.Collections.GenericIEnumerableString
Parameters of the command.
No parameters are required.
This parameter is optional. - appendConnection
- Type: SystemString
Name of the connection.
This parameter is optional.
Type Parameters
- T
Return Value
Type:
TaskTSee Also