Click or drag to resize

DesktopConnectionsendActionToNotificationsCenter Method

Sends a message to an AppDesktop Notification.

Namespace:  Openfin.Desktop
Assembly:  OpenfinDesktop (in OpenfinDesktop.dll) Version: 14.1.0-alpha3
Syntax
C#
public void sendActionToNotificationsCenter(
	string action,
	JObject payload,
	AckCallback callback,
	AckCallback errorCallback,
	Object source
)

Parameters

action
Type: SystemString
The action of the message.
payload
Type: JObject
The message object to send.
callback
Type: Openfin.DesktopAckCallback
A function that is called if the method succeeds.
errorCallback
Type: Openfin.DesktopAckCallback
A function that is called if the method fails. The reason for failure is passed as an argument.
source
Type: SystemObject
The message source to pair with a resulting message instance of AckCallback.
See Also