RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TSoapDataModule.DataRequest Method

Generates an OnDataRequest event on the specified provider component.

Pascal
function DataRequest(const ProviderName: WideString; Data: OleVariant): OleVariant;
C++
__fastcall OleVariant DataRequest(const BSTR ProviderName, OleVariant Data);

DataRequest provides the underlying implementation for the AS_DataRequest method (on the IAppServer interface) and the SAS_DataRequest method (on the IAppServerSOAP interface). This method calls any OnDataRequest event handler of the specified provider. 

There is no predefined meaning for the Data parameter. It represents custom information supplied by the client and passed to the OnDataRequest event handler. 

DataRequest returns the value that is assigned to the OwnerData parameter of the event handler on exit. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!