IAppCreateConnectionAsyncT Method (AsyncHandle, FuncResponse, T, Connection) |
Creates a connection. A connection indicates from which data source, the data should be taken.
Namespace: Qlik.EngineAssembly: Qlik.Engine (in Qlik.Engine.dll) Version: 2.1.0.0+Build:7.origin/release/ms13
Syntax Task<T> CreateConnectionAsync<T>(
AsyncHandle asyncHandle,
Func<Response, T> onResult,
Connection connection
)
Function CreateConnectionAsync(Of T) (
asyncHandle As AsyncHandle,
onResult As Func(Of Response, T),
connection As Connection
) As Task(Of T)
Parameters
- asyncHandle
- Type: Qlik.EngineAsyncHandle
Handle to asynchronous method request - onResult
- Type: SystemFuncResponse, T
Continuation function - connection
- Type: Qlik.EngineConnection
Information about the connection.
This parameter is mandatory.
Type Parameters
- T
Return Value
Type:
TaskTSee Also