Click or drag to resize

DesktopConnectionsendActionToNotificationsCenter Method

Note: This API is now obsolete.

Sends a message to an AppDesktop Notification.

Namespace:  Openfin.Desktop
Assembly:  OpenfinDesktop (in OpenfinDesktop.dll) Version: 17.6.0
Syntax
C#
[ObsoleteAttribute("This API has been deprecated. Use the Notification Center Client API instead.")]
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