Click or drag to resize

DesktopConnectionlaunchAndConnect Method

Launches AppDesktop and notifies the listener when connected.

Namespace:  Openfin.Desktop
Assembly:  OpenfinDesktop (in OpenfinDesktop.dll) Version: 14.1.0-alpha3
Syntax
C#
public void launchAndConnect(
	string desktopPath,
	string commandLineArguements,
	DesktopStateListener listener,
	int timeout
)

Parameters

desktopPath
Type: SystemString
Absolute path to the AppDesktop executable
commandLineArguements
Type: SystemString
Command line arguments to start the AppDesktop with.
listener
Type: Openfin.DesktopDesktopStateListener
Receives updates on startup and connection state.
timeout
Type: SystemInt32
For connecting to Desktop after launch. If the connection to AppDesktop is not established by the timeout, in seconds, the listener will get an onError() call.
See Also