| HubCreateAppExAsyncT Method (AsyncHandle, FuncResponse, T, String, String, String, String, String) | 
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: 2.1.0.0+Build:7.origin/release/ms13
Syntaxpublic Task<T> CreateAppExAsync<T>(
	AsyncHandle asyncHandle,
	Func<Response, T> onResult,
	string docName,
	string userName = null,
	string password = null,
	string serial = null,
	string localizedScriptMainSection = null
)
Public Function CreateAppExAsync(Of T) ( 
	asyncHandle As AsyncHandle,
	onResult As Func(Of Response, T),
	docName As String,
	Optional userName As String = Nothing,
	Optional password As String = Nothing,
	Optional serial As String = Nothing,
	Optional localizedScriptMainSection As String = Nothing
) As Task(Of T)
Parameters
- asyncHandle
 - Type: Qlik.EngineAsyncHandle
Handle to asynchronous method request - onResult
 - Type: SystemFuncResponse, T
Continuation function - 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. 
Type Parameters
- T
 
Return Value
Type: 
TaskTImplements
IHubCreateAppExAsyncT(AsyncHandle, FuncResponse, T, String, String, String, String, String)
See Also