Click or drag to resize

Windowclose Method

Closes the window.

Namespace:  Openfin.Desktop
Assembly:  OpenfinDesktop (in OpenfinDesktop.dll) Version: 16.7.0
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