Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.

SQL Anywhere 11.0.1 (Français) » QAnywhere » QAnywhere Reference » QAnywhere .NET API reference » QAnywhere .NET API for clients (.NET 2.0) » QAManagerBase interface

 

TriggerSendReceive method

Causes a synchronization with the QAnywhere message server, uploading any messages addressed to other clients, and downloading any messages addressed to the local client.

Syntax
Visual Basic
Public Sub TriggerSendReceive()
C#
public void TriggerSendReceive();
Remarks

QAManagerBase TriggerSendReceive results in immediate message synchronization between a QAnywhere Agent and the central messaging server. A manual TriggerSendReceive call results in immediate message transmission, independent of the QAnywhere Agent transmission policies.

QAnywhere Agent transmission policies determine how message transmission occurs. For example, message transmission can occur automatically at regular intervals, when your client receives a push notification, or when you call the QAManagerBase.PutMessage method to send a message.

For more information, see Determining when message transmission should occur on the client.

Exceptions
See also