Click or drag to resize
LocationExtensionsActiveAppAsync Method
Connect to an already active Qlik Sense app

Namespace: Qlik.Engine
Assembly: Qlik.Engine (in Qlik.Engine.dll) Version: 2.1.0.0+Build:7.origin/release/ms13
Syntax
public static Task<IApp> ActiveAppAsync(
	this ILocation location,
	IAppIdentifier appIdentifier,
	ISession session = null
)

Parameters

location
Type: Qlik.EngineILocation
Location object of the Qlik Sense instance
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: TaskIApp
Returns 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