RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TInvContext Class

TInvContext stores information about a method call on an invokeable interface.

Pascal
TInvContext = class(TDataContext);
C++
class TInvContext : public TDataContext;

TInvContext is a helper object created and used by TRIO and TSoapPascalInvoker for generating calls to the methods on an invokeable interface. It stores temporary data needed when making the method call. TInvContext introduces methods for retrieving and setting information about the method being called, including its type signature, parameter values, and so on. 

Component writers implementing their own classes to implement the IOPConvert interface must translate between the information stored in a TInvContext object and their class-specific encoding of a method call. 

 

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