Skip to main content Skip to complementary content

SendMessage Method

Overloads

SendMessage(String, Action<Exception>)

Send a message to a Qlik Sense instance.

SendMessage(String, Action<Exception>)

Send a message to a Qlik Sense instance.

Declaration

      public void SendMessage(string message, Action<Exception> onError = null)
    

Parameters

Type Name Description
System.String message

The message to send.

System.Action<System.Exception> onError

Callback when an error occurs during the send operation. Note that this callback is activated only if the send operation it self triggers an error. Errors returned by Qlik Sense as part of a response to a message should be captured by the onMessage callback provided as argument to OpenAsync(Action<String>, Action<Exception>, CancellationToken).

Implements

Exceptions

Type Condition
CommunicationErrorException

Thrown if connection is not open.

Did this page help you?

If you find any issues with this page or its content – a typo, a missing step, or a technical error – let us know how we can improve!