Click or drag to resize

Application Constructor (ApplicationOptions, DesktopConnection, AckCallback, AckCallback)

Note: This API is now obsolete.

Application Constructor.

Namespace:  Openfin.Desktop
Assembly:  OpenfinDesktop (in OpenfinDesktop.dll) Version: 17.1.0
Syntax
C#
[ObsoleteAttribute("Direct Application creation is no longer supported. Use Runtime.CreateApplication(...) instead.")]
public Application(
	ApplicationOptions options,
	DesktopConnection desktopConnection,
	AckCallback callback = null,
	AckCallback errorCallback = null
)

Parameters

options
Type: Openfin.DesktopApplicationOptions
Settings of the application.ApplicationOptions
desktopConnection
Type: Openfin.DesktopDesktopConnection
Connection object to the AppDesktop.DesktopConnection
callback (Optional)
Type: Openfin.DesktopAckCallback
(Optional) A function that is called if the method succeeds.
errorCallback (Optional)
Type: Openfin.DesktopAckCallback
(Optional) A function that is called if the method fails. The reason for failure is passed as an argument.
See Also