Datasnap.Win.SConnect.ISendDataBlock.Send
Delphi
function Send(const Data: IDataBlock; WaitForResult: Boolean): IDataBlock; stdcall;
C++
virtual _di_IDataBlock __stdcall Send(const _di_IDataBlock Data, bool WaitForResult) = 0 ;
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | Datasnap.Win.SConnect.pas Datasnap.Win.SConnect.hpp |
Datasnap.Win.SConnect | ISendDataBlock |
Description
Sends information retrieved from an IDataBlock interface to the application server.
ISendDataBlock dispatches information to an application server. The information must be available as the Memory property of an IDataBlock interface.
The WaitForResult parameter indicates whether the caller requires a response when the information is sent. If WaitForResult is true, Send does not return until a response is received from the application server. This response is returned as an IDataBlock interface (_di_IDataBlock). If WaitForResult is false, Send may still return a response, but only if the application server responds immediately.