M-Files API 22.6.11519.0
OnServerDataPush Method
IServerDataPushSink Object : OnServerDataPush Method
The server-provided data push identification number. If 'RequestID' is not zero, the server expects a response from the client.
The server-provided server data push payload in JSON format.
Description
Called when M-Files server has provided data for the client.
Syntax
Visual Basic
Public Sub OnServerDataPush( _
   ByVal RequestID As Long, _
   ByVal JsonDataContent As String _
) 
Parameters
RequestID
The server-provided data push identification number. If 'RequestID' is not zero, the server expects a response from the client.
JsonDataContent
The server-provided server data push payload in JSON format.
Remarks
The client may use the methods 'SendResponse', 'SendError' or 'SendCancel' in the 'VaultServerDataPushOperations' interface to provide the response. If the response is delayed (i.e. cannot be provided in 10-15 seconds) the client needs to use the 'SendHeartbeat' method in regular intervals.
See Also

IServerDataPushSink Object  | IServerDataPushSink Members