IHubCreateAppExAsyncT Method (String, String, String, String, String, FuncResponse, T, AsyncHandle) |
Creates an app and opens a session.
This method applies only if running a local installation of Qlik Sense.
Namespace: Qlik.EngineAssembly: Qlik.Engine (in Qlik.Engine.dll) Version: 1.1.0.0 (1.1.0.0)
Syntax Task<T> CreateAppExAsync<T>(
string docName,
string userName = null,
string password = null,
string serial = null,
string localizedScriptMainSection = null,
Func<Response, T> onResult,
AsyncHandle asyncHandle = null
)
Function CreateAppExAsync(Of T) (
docName As String,
Optional userName As String = Nothing,
Optional password As String = Nothing,
Optional serial As String = Nothing,
Optional localizedScriptMainSection As String = Nothing,
onResult As Func(Of Response, T),
Optional asyncHandle As AsyncHandle = Nothing
) As Task(Of T)
Parameters
- docName
- Type: SystemString
Name of the app
This parameter is mandatory. - userName (Optional)
- Type: SystemString
Name of the user
This parameter is optional. - password (Optional)
- Type: SystemString
Password of the user
This parameter is optional. - serial (Optional)
- Type: SystemString
Current Qlik Sense serial number
This parameter is optional. - localizedScriptMainSection (Optional)
- Type: SystemString
Name of the first section in the script editor.
This parameter is optional.
The default value is Main. - onResult
- Type: SystemFuncResponse, T
Continuation function - asyncHandle (Optional)
- Type: Qlik.EngineAsyncHandle
Handle to asyncronous method request
Type Parameters
- T
Return Value
Type:
TaskTSee Also