Soap.SOAPDm.TSoapDataModule.DataRequest

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function DataRequest(const ProviderName: OleStr;  Data: OleVariant): OleVariant;

C++

System::OleVariant __fastcall DataRequest(const System::WideString ProviderName, const System::OleVariant &Data);

Properties

Type Visibility Source Unit Parent
function protected
Soap.SOAPDm.pas
Soap.SOAPDm.hpp
Soap.SOAPDm TSoapDataModule

Description

Generates an OnDataRequest event on the specified provider component.

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.

See Also