Click or drag to resize

Applicationclose Method

Closes the application

Namespace:  Openfin.Desktop
Assembly:  OpenfinDesktop (in OpenfinDesktop.dll) Version: 14.1.0-alpha3
Syntax
C#
public void close(
	bool force = false,
	AckCallback callback = null,
	AckCallback errorCallback = null
)

Parameters

force (Optional)
Type: SystemBoolean
When true the close can not be prevented through the window event 'close-requested'
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