LocationExtensionsActiveAppAsync Method |
Connect to an already active Qlik Sense app
Namespace: Qlik.EngineAssembly: Qlik.Engine (in Qlik.Engine.dll) Version: 1.1.0.0 (1.1.0.0)
Syntax public static Task<IApp> ActiveAppAsync(
this ILocation location,
IAppIdentifier appIdentifier,
ISession session = null
)
<ExtensionAttribute>
Public Shared Function ActiveAppAsync (
location As ILocation,
appIdentifier As IAppIdentifier,
Optional session As ISession = Nothing
) As Task(Of IApp)
Parameters
- location
- Type: Qlik.EngineILocation
- appIdentifier
- Type: Qlik.EngineIAppIdentifier
Token to identify an unique app - session (Optional)
- Type: Qlik.EngineISession
Defines a specific app session, that can be connected to.
Return Value
Type:
TaskIAppReturns a task, the result contains the IApp
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
ILocation. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).
See Also