Soap.InvokeRegistry.SetRemotableDataContext
Delphi
procedure SetRemotableDataContext(Value: Pointer);
C++
extern DELPHI_PACKAGE void __fastcall SetRemotableDataContext(void * Value);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
public | Soap.InvokeRegistry.pas Soap.InvokeRegistry.hpp |
Soap.InvokeRegistry | Soap.InvokeRegistry |
Description
Sets the data context that provides temporary storage during a call to an invokable interface.
SetRemotableDataContext assigns a data context for a remote call to an invokable interface. Once a data context is assigned, it is available to store the temporary objects and values needed for implementing a call to an invokable interface. If the application creates a TRemotable descendant while there is a remotable data context, that remotable object is automatically added to the data context and freed when the application frees the data context.
Note: The invoker component in a Web Services application automatically calls SetRemotableDataContext to set up a data context for incoming SOAP requests. Thus, there is typically no need to call this method in server applications.
Value is a pointer to a TDataContext descendant that temporarily stores information for remote interface calls.