CreateAppExAsync Method
Overloads
| CreateAppExAsync(String, String, String, String, String) | Creates an app and opens an engine session. | |
| CreateAppExAsync(AsyncHandle, String, String, String, String, String) | Creates an app and opens an engine session. | |
| CreateAppExAsync<T>(AsyncHandle, Func<Response, T>, String, String, String, String, String) | Creates an app and opens an engine session. | 
CreateAppExAsync(String, String, String, String, String)
Creates an app and opens an engine session.
Declaration
      [QixName("CreateDocEx")]
public Task<CreateAppExResult> CreateAppExAsync([QixName("qDocName")] string docName, [QixName("qUserName")] string userName = null, [QixName("qPassword")] string password = null, [QixName("qSerial")] string serial = null, [QixName("qLocalizedScriptMainSection")] string localizedScriptMainSection = null)
    
  Parameters
| Type | Name | Description | 
|---|---|---|
| System.String | docName | Name of the app. | 
| System.String | userName | Name of the user. | 
| System.String | password | Password of the user. | 
| System.String | serial | Current Qlik Sense serial number. | 
| System.String | localizedScriptMainSection | Name of the first section in the script editor.
The default value is  | 
Returns
| Type | Description | 
|---|---|
| System.Threading.Tasks.Task<CreateAppExResult> | 
Implements
Remarks
This operation is possible only in Qlik Sense Desktop.
CreateAppExAsync(AsyncHandle, String, String, String, String, String)
Creates an app and opens an engine session.
Declaration
      [QixName("CreateDocEx")]
public Task<CreateAppExResult> CreateAppExAsync(AsyncHandle asyncHandle, [QixName("qDocName")] string docName, [QixName("qUserName")] string userName = null, [QixName("qPassword")] string password = null, [QixName("qSerial")] string serial = null, [QixName("qLocalizedScriptMainSection")] string localizedScriptMainSection = null)
    
  Parameters
| Type | Name | Description | 
|---|---|---|
| AsyncHandle | asyncHandle | Handle to asynchronous method request | 
| System.String | docName | Name of the app. | 
| System.String | userName | Name of the user. | 
| System.String | password | Password of the user. | 
| System.String | serial | Current Qlik Sense serial number. | 
| System.String | localizedScriptMainSection | Name of the first section in the script editor.
The default value is  | 
Returns
| Type | Description | 
|---|---|
| System.Threading.Tasks.Task<CreateAppExResult> | 
Implements
Remarks
This operation is possible only in Qlik Sense Desktop.
CreateAppExAsync<T>(AsyncHandle, Func<Response, T>, String, String, String, String, String)
Creates an app and opens an engine session.
Declaration
      [QixName("CreateDocEx")]
public Task<T> CreateAppExAsync<T>(AsyncHandle asyncHandle, Func<Response, T> onResult, [QixName("qDocName")] string docName, [QixName("qUserName")] string userName = null, [QixName("qPassword")] string password = null, [QixName("qSerial")] string serial = null, [QixName("qLocalizedScriptMainSection")] string localizedScriptMainSection = null)
    
  Parameters
| Type | Name | Description | 
|---|---|---|
| AsyncHandle | asyncHandle | Handle to asynchronous method request | 
| System.Func<Response, T> | onResult | Continuation function | 
| System.String | docName | Name of the app. | 
| System.String | userName | Name of the user. | 
| System.String | password | Password of the user. | 
| System.String | serial | Current Qlik Sense serial number. | 
| System.String | localizedScriptMainSection | Name of the first section in the script editor.
The default value is  | 
Returns
| Type | Description | 
|---|---|
| System.Threading.Tasks.Task<T> | 
Type Parameters
| Name | Description | 
|---|---|
| T | 
Implements
Remarks
This operation is possible only in Qlik Sense Desktop.