DesktopConnectionsendAction Method (String, JObject, AckCallback, AckCallback, Object) |
Sends a message to AppDesktop.
Namespace:
Openfin.Desktop
Assembly:
OpenfinDesktop (in OpenfinDesktop.dll) Version: 17.6.1
Syntax public void sendAction(
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 resulting instances of AckCallback.
See Also